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 String
assetId
private final Peripheral
oldPeripheral
private final Peripheral
newPeripheral
private AssetContext
assetContext
private Call<ReplaceVehiclePeripheralRequest, ReplaceVehiclePeripheralResponse>
call
private final ConnectionMode
connectionMode
-
Method Summary
Modifier and Type Method Description final String
getAssetId()
final Peripheral
getOldPeripheral()
final Peripheral
getNewPeripheral()
final ReplaceVehiclePeripheralRequest.Builder
withAsset(String assetId, AssetContext assetContext)
Set asset(not required). final ReplaceVehiclePeripheralRequest.Builder
withOldPeripheral(Peripheral oldPeripheral)
final ReplaceVehiclePeripheralRequest.Builder
withNewPeripheral(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)
-
-
-
-