Interface DevicePositionUpdate.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<DevicePositionUpdate.Builder,,DevicePositionUpdate> SdkBuilder<DevicePositionUpdate.Builder,,DevicePositionUpdate> SdkPojo
- Enclosing class:
 DevicePositionUpdate
- 
Method Summary
Modifier and TypeMethodDescriptiondefault DevicePositionUpdate.Builderaccuracy(Consumer<PositionalAccuracy.Builder> accuracy) The accuracy of the device position.accuracy(PositionalAccuracy accuracy) The accuracy of the device position.The device associated to the position update.The latest device position defined in WGS 84 format:[X or longitude, Y or latitude].position(Collection<Double> position) The latest device position defined in WGS 84 format:[X or longitude, Y or latitude].positionProperties(Map<String, String> positionProperties) Associates one of more properties with the position update.sampleTime(Instant sampleTime) The timestamp at which the device's position was determined.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
accuracy
The accuracy of the device position.
- Parameters:
 accuracy- The accuracy of the device position.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
accuracy
The accuracy of the device position.
This is a convenience method that creates an instance of thePositionalAccuracy.Builderavoiding the need to create one manually viaPositionalAccuracy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccuracy(PositionalAccuracy).- Parameters:
 accuracy- a consumer that will call methods onPositionalAccuracy.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
deviceId
The device associated to the position update.
- Parameters:
 deviceId- The device associated to the position update.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
position
The latest device position defined in WGS 84 format:
[X or longitude, Y or latitude].- Parameters:
 position- The latest device position defined in WGS 84 format:[X or longitude, Y or latitude].- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
position
The latest device position defined in WGS 84 format:
[X or longitude, Y or latitude].- Parameters:
 position- The latest device position defined in WGS 84 format:[X or longitude, Y or latitude].- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
positionProperties
Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.
Format:
"key" : "value"- Parameters:
 positionProperties- Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.Format:
"key" : "value"- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
sampleTime
The timestamp at which the device's position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ- Parameters:
 sampleTime- The timestamp at which the device's position was determined. Uses ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -