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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchDeleteDevicePositionHistoryError.BuilderdeviceId(String deviceId)The ID of the device for this position.default BatchDeleteDevicePositionHistoryError.Buildererror(Consumer<BatchItemError.Builder> error)Sets the value of the Error property for this object.BatchDeleteDevicePositionHistoryError.Buildererror(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 Detail
-
deviceId
BatchDeleteDevicePositionHistoryError.Builder deviceId(String 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
BatchDeleteDevicePositionHistoryError.Builder error(BatchItemError 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
default BatchDeleteDevicePositionHistoryError.Builder error(Consumer<BatchItemError.Builder> error)
Sets the value of the Error property for this object. 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)
-
-