Interface BatchDeleteDevicePositionHistoryError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchDeleteDevicePositionHistoryError.Builder,
,BatchDeleteDevicePositionHistoryError> SdkBuilder<BatchDeleteDevicePositionHistoryError.Builder,
,BatchDeleteDevicePositionHistoryError> SdkPojo
- Enclosing class:
BatchDeleteDevicePositionHistoryError
public static interface BatchDeleteDevicePositionHistoryError.Builder
extends SdkPojo, CopyableBuilder<BatchDeleteDevicePositionHistoryError.Builder,BatchDeleteDevicePositionHistoryError>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the device for this position.error
(Consumer<BatchItemError.Builder> error) Sets the value of the Error property for this object.error
(BatchItemError error) Sets the value of the Error property for this object.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 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.
-
error
Sets the value of the Error property for this object.- Parameters:
error
- The new value for the Error property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Sets the value of the Error property for this object. This is a convenience method that creates an instance of theBatchItemError.Builder
avoiding the need to create one manually viaBatchItemError.builder()
.When the
Consumer
completes,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:
-