Package com.chrt.api.types
Class CargoByDeviceDataPoint1.Builder
- java.lang.Object
-
- com.chrt.api.types.CargoByDeviceDataPoint1.Builder
-
- All Implemented Interfaces:
CargoByDeviceDataPoint1._FinalStage,CargoByDeviceDataPoint1.IdStage,CargoByDeviceDataPoint1.LocationStage,CargoByDeviceDataPoint1.MetadataStage,CargoByDeviceDataPoint1.SchemaVersionStage,CargoByDeviceDataPoint1.TimestampStage
- Enclosing class:
- CargoByDeviceDataPoint1
public static final class CargoByDeviceDataPoint1.Builder extends java.lang.Object implements CargoByDeviceDataPoint1.SchemaVersionStage, CargoByDeviceDataPoint1.TimestampStage, CargoByDeviceDataPoint1.MetadataStage, CargoByDeviceDataPoint1.LocationStage, CargoByDeviceDataPoint1.IdStage, CargoByDeviceDataPoint1._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CargoByDeviceDataPoint1build()CargoByDeviceDataPoint1.Builderfrom(CargoByDeviceDataPoint1 other)CargoByDeviceDataPoint1._FinalStageid(java.lang.String id)CargoByDeviceDataPoint1.IdStagelocation(LocationFeature location)CargoByDeviceDataPoint1.LocationStagemetadata(CargoByDeviceDataPointMetadata1 metadata)CargoByDeviceDataPoint1.TimestampStageschemaVersion(int schemaVersion)CargoByDeviceDataPoint1._FinalStagetemperature(Nullable<java.lang.Double> temperature)CargoByDeviceDataPoint1._FinalStagetemperature(java.lang.Double temperature)CargoByDeviceDataPoint1._FinalStagetemperature(java.util.Optional<java.lang.Double> temperature)CargoByDeviceDataPoint1.MetadataStagetimestamp(java.time.OffsetDateTime timestamp)
-
-
-
Method Detail
-
from
public CargoByDeviceDataPoint1.Builder from(CargoByDeviceDataPoint1 other)
- Specified by:
fromin interfaceCargoByDeviceDataPoint1.SchemaVersionStage
-
schemaVersion
public CargoByDeviceDataPoint1.TimestampStage schemaVersion(int schemaVersion)
- Specified by:
schemaVersionin interfaceCargoByDeviceDataPoint1.SchemaVersionStage
-
timestamp
public CargoByDeviceDataPoint1.MetadataStage timestamp(@NotNull java.time.OffsetDateTime timestamp)
- Specified by:
timestampin interfaceCargoByDeviceDataPoint1.TimestampStage
-
metadata
public CargoByDeviceDataPoint1.LocationStage metadata(@NotNull CargoByDeviceDataPointMetadata1 metadata)
- Specified by:
metadatain interfaceCargoByDeviceDataPoint1.MetadataStage
-
location
public CargoByDeviceDataPoint1.IdStage location(@NotNull LocationFeature location)
- Specified by:
locationin interfaceCargoByDeviceDataPoint1.LocationStage
-
id
public CargoByDeviceDataPoint1._FinalStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceCargoByDeviceDataPoint1.IdStage
-
temperature
public CargoByDeviceDataPoint1._FinalStage temperature(Nullable<java.lang.Double> temperature)
- Specified by:
temperaturein interfaceCargoByDeviceDataPoint1._FinalStage
-
temperature
public CargoByDeviceDataPoint1._FinalStage temperature(java.lang.Double temperature)
- Specified by:
temperaturein interfaceCargoByDeviceDataPoint1._FinalStage
-
temperature
public CargoByDeviceDataPoint1._FinalStage temperature(java.util.Optional<java.lang.Double> temperature)
- Specified by:
temperaturein interfaceCargoByDeviceDataPoint1._FinalStage
-
build
public CargoByDeviceDataPoint1 build()
- Specified by:
buildin interfaceCargoByDeviceDataPoint1._FinalStage
-
-