Interface BatchPutGeofenceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchPutGeofenceResponse.Builder,BatchPutGeofenceResponse>,LocationResponse.Builder,SdkBuilder<BatchPutGeofenceResponse.Builder,BatchPutGeofenceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchPutGeofenceResponse
public static interface BatchPutGeofenceResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<BatchPutGeofenceResponse.Builder,BatchPutGeofenceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchPutGeofenceResponse.Buildererrors(Collection<BatchPutGeofenceError> errors)Contains additional error details for each geofence that failed to be stored in a geofence collection.BatchPutGeofenceResponse.Buildererrors(Consumer<BatchPutGeofenceError.Builder>... errors)Contains additional error details for each geofence that failed to be stored in a geofence collection.BatchPutGeofenceResponse.Buildererrors(BatchPutGeofenceError... errors)Contains additional error details for each geofence that failed to be stored in a geofence collection.BatchPutGeofenceResponse.Buildersuccesses(Collection<BatchPutGeofenceSuccess> successes)Contains each geofence that was successfully stored in a geofence collection.BatchPutGeofenceResponse.Buildersuccesses(Consumer<BatchPutGeofenceSuccess.Builder>... successes)Contains each geofence that was successfully stored in a geofence collection.BatchPutGeofenceResponse.Buildersuccesses(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 Detail
-
successes
BatchPutGeofenceResponse.Builder successes(Collection<BatchPutGeofenceSuccess> 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
BatchPutGeofenceResponse.Builder successes(BatchPutGeofenceSuccess... 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
BatchPutGeofenceResponse.Builder successes(Consumer<BatchPutGeofenceSuccess.Builder>... successes)
Contains each geofence that was successfully stored in a geofence collection.
This is a convenience method that creates an instance of theBatchPutGeofenceSuccess.Builderavoiding the need to create one manually viaBatchPutGeofenceSuccess.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#successes(List.) - 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:
#successes(java.util.Collection)
-
errors
BatchPutGeofenceResponse.Builder errors(Collection<BatchPutGeofenceError> 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
BatchPutGeofenceResponse.Builder errors(BatchPutGeofenceError... 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
BatchPutGeofenceResponse.Builder errors(Consumer<BatchPutGeofenceError.Builder>... 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.Builderavoiding the need to create one manually viaBatchPutGeofenceError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
-