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
copyMethods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.Builderavoiding the need to create one manually viaBatchPutGeofenceSuccess.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaBatchPutGeofenceError.builder().When the
Consumercompletes,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:
-