Interface BatchPutGeofenceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchPutGeofenceRequest.Builder,,BatchPutGeofenceRequest> LocationRequest.Builder,SdkBuilder<BatchPutGeofenceRequest.Builder,,BatchPutGeofenceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchPutGeofenceRequest
public static interface BatchPutGeofenceRequest.Builder
extends LocationRequest.Builder, SdkPojo, CopyableBuilder<BatchPutGeofenceRequest.Builder,BatchPutGeofenceRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncollectionName(String collectionName) The geofence collection storing the geofences.entries(Collection<BatchPutGeofenceRequestEntry> entries) The batch of geofences to be stored in a geofence collection.entries(Consumer<BatchPutGeofenceRequestEntry.Builder>... entries) The batch of geofences to be stored in a geofence collection.entries(BatchPutGeofenceRequestEntry... entries) The batch of geofences to be stored in a geofence collection.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.location.model.LocationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
collectionName
The geofence collection storing the geofences.
- Parameters:
collectionName- The geofence collection storing the geofences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The batch of geofences to be stored in a geofence collection.
- Parameters:
entries- The batch of geofences to be stored in a geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The batch of geofences to be stored in a geofence collection.
- Parameters:
entries- The batch of geofences to be stored in a geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The batch of geofences to be stored in a geofence collection.
This is a convenience method that creates an instance of theBatchPutGeofenceRequestEntry.Builderavoiding the need to create one manually viaBatchPutGeofenceRequestEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<BatchPutGeofenceRequestEntry>).- Parameters:
entries- a consumer that will call methods onBatchPutGeofenceRequestEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchPutGeofenceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchPutGeofenceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-