Interface BatchPutGeofenceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchPutGeofenceResponse.Builder,
,BatchPutGeofenceResponse> LocationResponse.Builder
,SdkBuilder<BatchPutGeofenceResponse.Builder,
,BatchPutGeofenceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchPutGeofenceResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<BatchPutGeofenceError> errors) Contains additional error details for each geofence that failed to be stored in a geofence collection.errors
(Consumer<BatchPutGeofenceError.Builder>... errors) Contains additional error details for each geofence that failed to be stored in a geofence collection.errors
(BatchPutGeofenceError... errors) Contains additional error details for each geofence that failed to be stored in a geofence collection.successes
(Collection<BatchPutGeofenceSuccess> successes) Contains each geofence that was successfully stored in a geofence collection.successes
(Consumer<BatchPutGeofenceSuccess.Builder>... successes) Contains each geofence that was successfully stored in a geofence collection.successes
(BatchPutGeofenceSuccess... successes) Contains each geofence that was successfully stored in a geofence collection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
Contains additional error details for each geofence that failed to be stored in a geofence collection.
- Parameters:
errors
- Contains additional error details for each geofence that failed to be stored in a geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Contains additional error details for each geofence that failed to be stored in a geofence collection.
- Parameters:
errors
- Contains additional error details for each geofence that failed to be stored in a geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Contains additional error details for each geofence that failed to be stored in a geofence collection.
This is a convenience method that creates an instance of theBatchPutGeofenceError.Builder
avoiding the need to create one manually viaBatchPutGeofenceError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchPutGeofenceError>)
.- Parameters:
errors
- a consumer that will call methods onBatchPutGeofenceError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successes
Contains each geofence that was successfully stored in a geofence collection.
- Parameters:
successes
- Contains each geofence that was successfully stored in a geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successes
Contains each geofence that was successfully stored in a geofence collection.
- Parameters:
successes
- Contains each geofence that was successfully stored in a geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successes
Contains each geofence that was successfully stored in a geofence collection.
This is a convenience method that creates an instance of theBatchPutGeofenceSuccess.Builder
avoiding the need to create one manually viaBatchPutGeofenceSuccess.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccesses(List<BatchPutGeofenceSuccess>)
.- Parameters:
successes
- a consumer that will call methods onBatchPutGeofenceSuccess.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-