Interface ForecastGeofenceEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ForecastGeofenceEventsRequest.Builder,
,ForecastGeofenceEventsRequest> LocationRequest.Builder
,SdkBuilder<ForecastGeofenceEventsRequest.Builder,
,ForecastGeofenceEventsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ForecastGeofenceEventsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncollectionName
(String collectionName) The name of the geofence collection.deviceState
(Consumer<ForecastGeofenceEventsDeviceState.Builder> deviceState) The device's state, including current position and speed.deviceState
(ForecastGeofenceEventsDeviceState deviceState) The device's state, including current position and speed.distanceUnit
(String distanceUnit) The distance unit used for theNearestDistance
property returned in a forecasted event.distanceUnit
(DistanceUnit distanceUnit) The distance unit used for theNearestDistance
property returned in a forecasted event.maxResults
(Integer maxResults) An optional limit for the number of resources returned in a single call.The pagination token specifying which page of results to return in the response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The speed unit for the device captured by the device state.The speed unit for the device captured by the device state.timeHorizonMinutes
(Double timeHorizonMinutes) Specifies the time horizon in minutes for the forecasted events.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 name of the geofence collection.
- Parameters:
collectionName
- The name of the geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceState
The device's state, including current position and speed.
- Parameters:
deviceState
- The device's state, including current position and speed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceState
default ForecastGeofenceEventsRequest.Builder deviceState(Consumer<ForecastGeofenceEventsDeviceState.Builder> deviceState) The device's state, including current position and speed.
This is a convenience method that creates an instance of theForecastGeofenceEventsDeviceState.Builder
avoiding the need to create one manually viaForecastGeofenceEventsDeviceState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceState(ForecastGeofenceEventsDeviceState)
.- Parameters:
deviceState
- a consumer that will call methods onForecastGeofenceEventsDeviceState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeHorizonMinutes
Specifies the time horizon in minutes for the forecasted events.
- Parameters:
timeHorizonMinutes
- Specifies the time horizon in minutes for the forecasted events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distanceUnit
The distance unit used for the
NearestDistance
property returned in a forecasted event. The measurement system must match forDistanceUnit
andSpeedUnit
; ifKilometers
is specified forDistanceUnit
, thenSpeedUnit
must beKilometersPerHour
.Default Value:
Kilometers
- Parameters:
distanceUnit
- The distance unit used for theNearestDistance
property returned in a forecasted event. The measurement system must match forDistanceUnit
andSpeedUnit
; ifKilometers
is specified forDistanceUnit
, thenSpeedUnit
must beKilometersPerHour
.Default Value:
Kilometers
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
distanceUnit
The distance unit used for the
NearestDistance
property returned in a forecasted event. The measurement system must match forDistanceUnit
andSpeedUnit
; ifKilometers
is specified forDistanceUnit
, thenSpeedUnit
must beKilometersPerHour
.Default Value:
Kilometers
- Parameters:
distanceUnit
- The distance unit used for theNearestDistance
property returned in a forecasted event. The measurement system must match forDistanceUnit
andSpeedUnit
; ifKilometers
is specified forDistanceUnit
, thenSpeedUnit
must beKilometersPerHour
.Default Value:
Kilometers
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
speedUnit
The speed unit for the device captured by the device state. The measurement system must match for
DistanceUnit
andSpeedUnit
; ifKilometers
is specified forDistanceUnit
, thenSpeedUnit
must beKilometersPerHour
.Default Value:
KilometersPerHour
.- Parameters:
speedUnit
- The speed unit for the device captured by the device state. The measurement system must match forDistanceUnit
andSpeedUnit
; ifKilometers
is specified forDistanceUnit
, thenSpeedUnit
must beKilometersPerHour
.Default Value:
KilometersPerHour
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
speedUnit
The speed unit for the device captured by the device state. The measurement system must match for
DistanceUnit
andSpeedUnit
; ifKilometers
is specified forDistanceUnit
, thenSpeedUnit
must beKilometersPerHour
.Default Value:
KilometersPerHour
.- Parameters:
speedUnit
- The speed unit for the device captured by the device state. The measurement system must match forDistanceUnit
andSpeedUnit
; ifKilometers
is specified forDistanceUnit
, thenSpeedUnit
must beKilometersPerHour
.Default Value:
KilometersPerHour
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null
- Parameters:
nextToken
- The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.Default value:
null
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
An optional limit for the number of resources returned in a single call.
Default value:
20
- Parameters:
maxResults
- An optional limit for the number of resources returned in a single call.Default value:
20
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ForecastGeofenceEventsRequest.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
ForecastGeofenceEventsRequest.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.
-