Interface BatchDeleteGeofenceError.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BatchDeleteGeofenceError.Builder,,- BatchDeleteGeofenceError> - SdkBuilder<BatchDeleteGeofenceError.Builder,,- BatchDeleteGeofenceError> - SdkPojo
- Enclosing class:
- BatchDeleteGeofenceError
@Mutable
@NotThreadSafe
public static interface BatchDeleteGeofenceError.Builder
extends SdkPojo, CopyableBuilder<BatchDeleteGeofenceError.Builder,BatchDeleteGeofenceError> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault BatchDeleteGeofenceError.Buildererror(Consumer<BatchItemError.Builder> error) Contains details associated to the batch error.error(BatchItemError error) Contains details associated to the batch error.geofenceId(String geofenceId) The geofence associated with the error message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
geofenceIdThe geofence associated with the error message. - Parameters:
- geofenceId- The geofence associated with the error message.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorContains details associated to the batch error. - Parameters:
- error- Contains details associated to the batch error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorContains details associated to the batch error. 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 on- BatchItemError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-