Interface ListDevicePositionsResponseEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ListDevicePositionsResponseEntry.Builder,,ListDevicePositionsResponseEntry> SdkBuilder<ListDevicePositionsResponseEntry.Builder,,ListDevicePositionsResponseEntry> SdkPojo
- Enclosing class:
ListDevicePositionsResponseEntry
@Mutable
@NotThreadSafe
public static interface ListDevicePositionsResponseEntry.Builder
extends SdkPojo, CopyableBuilder<ListDevicePositionsResponseEntry.Builder,ListDevicePositionsResponseEntry>
-
Method Summary
Modifier and TypeMethodDescriptionaccuracy(Consumer<PositionalAccuracy.Builder> accuracy) The accuracy of the device position.accuracy(PositionalAccuracy accuracy) The accuracy of the device position.The ID of the device for this position.The last known device position.position(Collection<Double> position) The last known device position.positionProperties(Map<String, String> positionProperties) The properties associated with the position.sampleTime(Instant sampleTime) The timestamp at which the device 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, sdkFieldNameToField, sdkFields
-
Method Details
-
deviceId
The ID of the device for this position.
- Parameters:
deviceId- The ID of the device for this position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleTime
The timestamp at which the device position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.- Parameters:
sampleTime- The timestamp at which the device 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.
-
position
The last known device position. Empty if no positions currently stored.
- Parameters:
position- The last known device position. Empty if no positions currently stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
The last known device position. Empty if no positions currently stored.
- Parameters:
position- The last known device position. Empty if no positions currently stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
default ListDevicePositionsResponseEntry.Builder accuracy(Consumer<PositionalAccuracy.Builder> 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:
-
positionProperties
The properties associated with the position.
- Parameters:
positionProperties- The properties associated with the position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-