Class DriverUpdateReq.Builder
- java.lang.Object
-
- com.chrt.api.resources.tracking.driver.requests.DriverUpdateReq.Builder
-
- All Implemented Interfaces:
DriverUpdateReq._FinalStage,DriverUpdateReq.LocationStage,DriverUpdateReq.TimestampStage
- Enclosing class:
- DriverUpdateReq
public static final class DriverUpdateReq.Builder extends java.lang.Object implements DriverUpdateReq.TimestampStage, DriverUpdateReq.LocationStage, DriverUpdateReq._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DriverUpdateReqbuild()DriverUpdateReq.Builderfrom(DriverUpdateReq other)DriverUpdateReq._FinalStagelocation(LocationFeature location)DriverUpdateReq.LocationStagetimestamp(java.time.OffsetDateTime timestamp)
-
-
-
Method Detail
-
from
public DriverUpdateReq.Builder from(DriverUpdateReq other)
- Specified by:
fromin interfaceDriverUpdateReq.TimestampStage
-
timestamp
public DriverUpdateReq.LocationStage timestamp(@NotNull java.time.OffsetDateTime timestamp)
- Specified by:
timestampin interfaceDriverUpdateReq.TimestampStage
-
location
public DriverUpdateReq._FinalStage location(@NotNull LocationFeature location)
- Specified by:
locationin interfaceDriverUpdateReq.LocationStage
-
build
public DriverUpdateReq build()
- Specified by:
buildin interfaceDriverUpdateReq._FinalStage
-
-