Interface BatchGetDevicePositionError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchGetDevicePositionError.Builder,,BatchGetDevicePositionError> SdkBuilder<BatchGetDevicePositionError.Builder,,BatchGetDevicePositionError> SdkPojo
- Enclosing class:
BatchGetDevicePositionError
public static interface BatchGetDevicePositionError.Builder
extends SdkPojo, CopyableBuilder<BatchGetDevicePositionError.Builder,BatchGetDevicePositionError>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the device that didn't return a position.error(Consumer<BatchItemError.Builder> error) Contains details related to the error code.error(BatchItemError error) Contains details related to the error code.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, sdkFields
-
Method Details
-
deviceId
The ID of the device that didn't return a position.
- Parameters:
deviceId- The ID of the device that didn't return a position.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Contains details related to the error code.
- Parameters:
error- Contains details related to the error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Contains details related to the error code.
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:
-