Package com.chrt.api.types
Class DriverUpdateRes.Builder
- java.lang.Object
-
- com.chrt.api.types.DriverUpdateRes.Builder
-
- All Implemented Interfaces:
DriverUpdateRes._FinalStage,DriverUpdateRes.CargoTrackingCountStage,DriverUpdateRes.DriverUpdatedStage,DriverUpdateRes.TaskGroupTrackingCountStage
- Enclosing class:
- DriverUpdateRes
public static final class DriverUpdateRes.Builder extends java.lang.Object implements DriverUpdateRes.DriverUpdatedStage, DriverUpdateRes.TaskGroupTrackingCountStage, DriverUpdateRes.CargoTrackingCountStage, DriverUpdateRes._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DriverUpdateResbuild()DriverUpdateRes._FinalStagecargoTrackingCount(int cargoTrackingCount)DriverUpdateRes.TaskGroupTrackingCountStagedriverUpdated(boolean driverUpdated)DriverUpdateRes.Builderfrom(DriverUpdateRes other)DriverUpdateRes.CargoTrackingCountStagetaskGroupTrackingCount(int taskGroupTrackingCount)
-
-
-
Method Detail
-
from
public DriverUpdateRes.Builder from(DriverUpdateRes other)
- Specified by:
fromin interfaceDriverUpdateRes.DriverUpdatedStage
-
driverUpdated
public DriverUpdateRes.TaskGroupTrackingCountStage driverUpdated(boolean driverUpdated)
- Specified by:
driverUpdatedin interfaceDriverUpdateRes.DriverUpdatedStage
-
taskGroupTrackingCount
public DriverUpdateRes.CargoTrackingCountStage taskGroupTrackingCount(int taskGroupTrackingCount)
- Specified by:
taskGroupTrackingCountin interfaceDriverUpdateRes.TaskGroupTrackingCountStage
-
cargoTrackingCount
public DriverUpdateRes._FinalStage cargoTrackingCount(int cargoTrackingCount)
- Specified by:
cargoTrackingCountin interfaceDriverUpdateRes.CargoTrackingCountStage
-
build
public DriverUpdateRes build()
- Specified by:
buildin interfaceDriverUpdateRes._FinalStage
-
-