Interface BatchEvaluateGeofencesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchEvaluateGeofencesRequest.Builder,
,BatchEvaluateGeofencesRequest> LocationRequest.Builder
,SdkBuilder<BatchEvaluateGeofencesRequest.Builder,
,BatchEvaluateGeofencesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchEvaluateGeofencesRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaDevicePositionUpdate.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-