Interface DeviceState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeviceState.Builder,
,DeviceState> SdkBuilder<DeviceState.Builder,
,DeviceState> SdkPojo
- Enclosing class:
DeviceState
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeviceState.Builder
accuracy
(Consumer<PositionalAccuracy.Builder> accuracy) Sets the value of the Accuracy property for this object.accuracy
(PositionalAccuracy accuracy) Sets the value of the Accuracy property for this object.default DeviceState.Builder
cellSignals
(Consumer<CellSignals.Builder> cellSignals) The cellular network infrastructure that the device is connected to.cellSignals
(CellSignals cellSignals) The cellular network infrastructure that the device is connected to.The device identifier.ipv4Address
(String ipv4Address) The device's Ipv4 address.The last known device position.position
(Collection<Double> position) The last known device position.sampleTime
(Instant sampleTime) The timestamp at which the device's position was determined.wiFiAccessPoints
(Collection<WiFiAccessPoint> wiFiAccessPoints) The Wi-Fi access points the device is using.wiFiAccessPoints
(Consumer<WiFiAccessPoint.Builder>... wiFiAccessPoints) The Wi-Fi access points the device is using.wiFiAccessPoints
(WiFiAccessPoint... wiFiAccessPoints) The Wi-Fi access points the device is using.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
deviceId
The device identifier.
- Parameters:
deviceId
- The device identifier.- 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.
-
position
The last known device position.
- Parameters:
position
- The last known device position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
The last known device position.
- Parameters:
position
- The last known device position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accuracy
Sets the value of the Accuracy property for this object.- Parameters:
accuracy
- The new value for the Accuracy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accuracy
Sets the value of the Accuracy property for this object. This is a convenience method that creates an instance of thePositionalAccuracy.Builder
avoiding the need to create one manually viaPositionalAccuracy.builder()
.When the
Consumer
completes,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:
-
ipv4Address
The device's Ipv4 address.
- Parameters:
ipv4Address
- The device's Ipv4 address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wiFiAccessPoints
The Wi-Fi access points the device is using.
- Parameters:
wiFiAccessPoints
- The Wi-Fi access points the device is using.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wiFiAccessPoints
The Wi-Fi access points the device is using.
- Parameters:
wiFiAccessPoints
- The Wi-Fi access points the device is using.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wiFiAccessPoints
The Wi-Fi access points the device is using.
This is a convenience method that creates an instance of theWiFiAccessPoint.Builder
avoiding the need to create one manually viaWiFiAccessPoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towiFiAccessPoints(List<WiFiAccessPoint>)
.- Parameters:
wiFiAccessPoints
- a consumer that will call methods onWiFiAccessPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cellSignals
The cellular network infrastructure that the device is connected to.
- Parameters:
cellSignals
- The cellular network infrastructure that the device is connected to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cellSignals
The cellular network infrastructure that the device is connected to.
This is a convenience method that creates an instance of theCellSignals.Builder
avoiding the need to create one manually viaCellSignals.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocellSignals(CellSignals)
.- Parameters:
cellSignals
- a consumer that will call methods onCellSignals.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-