Interface BatchPutGeofenceError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutGeofenceError.Builder,BatchPutGeofenceError>,SdkBuilder<BatchPutGeofenceError.Builder,BatchPutGeofenceError>,SdkPojo
- Enclosing class:
- BatchPutGeofenceError
public static interface BatchPutGeofenceError.Builder extends SdkPojo, CopyableBuilder<BatchPutGeofenceError.Builder,BatchPutGeofenceError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchPutGeofenceError.Buildererror(Consumer<BatchItemError.Builder> error)Contains details associated to the batch error.BatchPutGeofenceError.Buildererror(BatchItemError error)Contains details associated to the batch error.BatchPutGeofenceError.BuildergeofenceId(String geofenceId)The geofence associated with the error message.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
geofenceId
BatchPutGeofenceError.Builder geofenceId(String geofenceId)
The 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.
-
error
BatchPutGeofenceError.Builder error(BatchItemError error)
Contains 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.
-
error
default BatchPutGeofenceError.Builder error(Consumer<BatchItemError.Builder> error)
Contains 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 onBatchItemError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(BatchItemError)
-
-