Interface BatchEvaluateGeofencesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchEvaluateGeofencesRequest.Builder,,BatchEvaluateGeofencesRequest> LocationRequest.Builder,SdkBuilder<BatchEvaluateGeofencesRequest.Builder,,BatchEvaluateGeofencesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchEvaluateGeofencesRequest
public static interface BatchEvaluateGeofencesRequest.Builder
extends LocationRequest.Builder, SdkPojo, CopyableBuilder<BatchEvaluateGeofencesRequest.Builder,BatchEvaluateGeofencesRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncollectionName(String collectionName) The geofence collection used in evaluating the position of devices against its geofences.devicePositionUpdates(Collection<DevicePositionUpdate> devicePositionUpdates) Contains device details for each device to be evaluated against the given geofence collection.devicePositionUpdates(Consumer<DevicePositionUpdate.Builder>... devicePositionUpdates) Contains device details for each device to be evaluated against the given geofence collection.devicePositionUpdates(DevicePositionUpdate... devicePositionUpdates) Contains device details for each device to be evaluated against the given 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 used in evaluating the position of devices against its geofences.
- Parameters:
collectionName- The geofence collection used in evaluating the position of devices against its geofences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePositionUpdates
BatchEvaluateGeofencesRequest.Builder devicePositionUpdates(Collection<DevicePositionUpdate> devicePositionUpdates) Contains device details for each device to be evaluated against the given geofence collection.
- Parameters:
devicePositionUpdates- Contains device details for each device to be evaluated against the given geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePositionUpdates
BatchEvaluateGeofencesRequest.Builder devicePositionUpdates(DevicePositionUpdate... devicePositionUpdates) Contains device details for each device to be evaluated against the given geofence collection.
- Parameters:
devicePositionUpdates- Contains device details for each device to be evaluated against the given geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePositionUpdates
BatchEvaluateGeofencesRequest.Builder devicePositionUpdates(Consumer<DevicePositionUpdate.Builder>... devicePositionUpdates) Contains device details for each device to be evaluated against the given geofence collection.
This is a convenience method that creates an instance of theDevicePositionUpdate.Builderavoiding the need to create one manually viaDevicePositionUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevicePositionUpdates(List<DevicePositionUpdate>).- Parameters:
devicePositionUpdates- a consumer that will call methods onDevicePositionUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchEvaluateGeofencesRequest.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
BatchEvaluateGeofencesRequest.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.
-