Class ReplaceVehiclePeripheralRequest.Builder
-
- All Implemented Interfaces:
public final class ReplaceVehiclePeripheralRequest.Builder extends DriveMotionRequest.Builder<ReplaceVehiclePeripheralRequest.Builder, ReplaceVehiclePeripheralRequest, ReplaceVehiclePeripheralResponse>
-
-
Field Summary
Fields Modifier and Type Field Description private final StringassetIdprivate final PeripheraloldPeripheralprivate final PeripheralnewPeripheralprivate AssetContextassetContextprivate Call<ReplaceVehiclePeripheralRequest, ReplaceVehiclePeripheralResponse>callprivate final ConnectionModeconnectionMode
-
Method Summary
Modifier and Type Method Description final StringgetAssetId()final PeripheralgetOldPeripheral()final PeripheralgetNewPeripheral()final ReplaceVehiclePeripheralRequest.BuilderwithAsset(String assetId, AssetContext assetContext)Set asset(not required). final ReplaceVehiclePeripheralRequest.BuilderwithOldPeripheral(Peripheral oldPeripheral)final ReplaceVehiclePeripheralRequest.BuilderwithNewPeripheral(Peripheral newPeripheral)-
Methods inherited from class com.telenav.sdk.drive.motion.api.model.base.DriveMotionRequest.Builder
build, getAssetContext, getCall, getConnectionMode, of, setAssetContext, setCall -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAssetId
final String getAssetId()
-
getOldPeripheral
final Peripheral getOldPeripheral()
-
getNewPeripheral
final Peripheral getNewPeripheral()
-
withAsset
final ReplaceVehiclePeripheralRequest.Builder withAsset(String assetId, AssetContext assetContext)
Set asset(not required).
- Parameters:
assetId- vehicle VIN number or channel client idassetContext- query type
-
withOldPeripheral
final ReplaceVehiclePeripheralRequest.Builder withOldPeripheral(Peripheral oldPeripheral)
-
withNewPeripheral
final ReplaceVehiclePeripheralRequest.Builder withNewPeripheral(Peripheral newPeripheral)
-
-
-
-