Interface BatchUpdateDevicePositionError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchUpdateDevicePositionError.Builder,BatchUpdateDevicePositionError>,SdkBuilder<BatchUpdateDevicePositionError.Builder,BatchUpdateDevicePositionError>,SdkPojo
- Enclosing class:
- BatchUpdateDevicePositionError
public static interface BatchUpdateDevicePositionError.Builder extends SdkPojo, CopyableBuilder<BatchUpdateDevicePositionError.Builder,BatchUpdateDevicePositionError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchUpdateDevicePositionError.BuilderdeviceId(String deviceId)The device associated with the failed location update.default BatchUpdateDevicePositionError.Buildererror(Consumer<BatchItemError.Builder> error)Contains details related to the error code such as the error code and error message.BatchUpdateDevicePositionError.Buildererror(BatchItemError error)Contains details related to the error code such as the error code and error message.BatchUpdateDevicePositionError.BuildersampleTime(Instant sampleTime)The timestamp at which the device position was determined.-
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, sdkFields
-
-
-
-
Method Detail
-
deviceId
BatchUpdateDevicePositionError.Builder deviceId(String deviceId)
The device associated with the failed location update.
- Parameters:
deviceId- The device associated with the failed location update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleTime
BatchUpdateDevicePositionError.Builder sampleTime(Instant 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.
-
error
BatchUpdateDevicePositionError.Builder error(BatchItemError error)
Contains details related to the error code such as the error code and error message.
- Parameters:
error- Contains details related to the error code such as the error code and error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default BatchUpdateDevicePositionError.Builder error(Consumer<BatchItemError.Builder> error)
Contains details related to the error code such as the error code and error message.
This is a convenience method that creates an instance of theBatchItemError.Builderavoiding the need to create one manually viaBatchItemError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(BatchItemError).- Parameters:
error- a consumer that will call methods onBatchItemError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(BatchItemError)
-
-