Interface BatchUpdateDevicePositionResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<BatchUpdateDevicePositionResponse.Builder,,- BatchUpdateDevicePositionResponse> - LocationResponse.Builder,- SdkBuilder<BatchUpdateDevicePositionResponse.Builder,,- BatchUpdateDevicePositionResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- BatchUpdateDevicePositionResponse
@Mutable
@NotThreadSafe
public static interface BatchUpdateDevicePositionResponse.Builder
extends LocationResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdateDevicePositionResponse.Builder,BatchUpdateDevicePositionResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionContains error details for each device that failed to update its position.errors(Consumer<BatchUpdateDevicePositionError.Builder>... errors) Contains error details for each device that failed to update its position.errors(BatchUpdateDevicePositionError... errors) Contains error details for each device that failed to update its position.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
errorsContains error details for each device that failed to update its position. - Parameters:
- errors- Contains error details for each device that failed to update its position.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorsContains error details for each device that failed to update its position. - Parameters:
- errors- Contains error details for each device that failed to update its position.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorsBatchUpdateDevicePositionResponse.Builder errors(Consumer<BatchUpdateDevicePositionError.Builder>... errors) Contains error details for each device that failed to update its position. This is a convenience method that creates an instance of theBatchUpdateDevicePositionError.Builderavoiding the need to create one manually viaBatchUpdateDevicePositionError.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchUpdateDevicePositionError>).- Parameters:
- errors- a consumer that will call methods on- BatchUpdateDevicePositionError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-