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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchGetDevicePositionError.BuilderdeviceId(String deviceId)The ID of the device that didn't return a position.default BatchGetDevicePositionError.Buildererror(Consumer<BatchItemError.Builder> error)Contains details related to the error code.BatchGetDevicePositionError.Buildererror(BatchItemError error)Contains details related to the error code.-
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
BatchGetDevicePositionError.Builder deviceId(String 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
BatchGetDevicePositionError.Builder error(BatchItemError 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
default BatchGetDevicePositionError.Builder error(Consumer<BatchItemError.Builder> 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:
error(BatchItemError)
-
-