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 theNearestDistanceproperty returned in a forecasted event.distanceUnit(DistanceUnit distanceUnit) The distance unit used for theNearestDistanceproperty 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
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 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.Builderavoiding the need to create one manually viaForecastGeofenceEventsDeviceState.builder().When the
Consumercompletes,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
NearestDistanceproperty returned in a forecasted event. The measurement system must match forDistanceUnitandSpeedUnit; ifKilometersis specified forDistanceUnit, thenSpeedUnitmust beKilometersPerHour.Default Value:
Kilometers- Parameters:
distanceUnit- The distance unit used for theNearestDistanceproperty returned in a forecasted event. The measurement system must match forDistanceUnitandSpeedUnit; ifKilometersis specified forDistanceUnit, thenSpeedUnitmust 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
NearestDistanceproperty returned in a forecasted event. The measurement system must match forDistanceUnitandSpeedUnit; ifKilometersis specified forDistanceUnit, thenSpeedUnitmust beKilometersPerHour.Default Value:
Kilometers- Parameters:
distanceUnit- The distance unit used for theNearestDistanceproperty returned in a forecasted event. The measurement system must match forDistanceUnitandSpeedUnit; ifKilometersis specified forDistanceUnit, thenSpeedUnitmust 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
DistanceUnitandSpeedUnit; ifKilometersis specified forDistanceUnit, thenSpeedUnitmust beKilometersPerHour.Default Value:
KilometersPerHour.- Parameters:
speedUnit- The speed unit for the device captured by the device state. The measurement system must match forDistanceUnitandSpeedUnit; ifKilometersis specified forDistanceUnit, thenSpeedUnitmust 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
DistanceUnitandSpeedUnit; ifKilometersis specified forDistanceUnit, thenSpeedUnitmust beKilometersPerHour.Default Value:
KilometersPerHour.- Parameters:
speedUnit- The speed unit for the device captured by the device state. The measurement system must match forDistanceUnitandSpeedUnit; ifKilometersis specified forDistanceUnit, thenSpeedUnitmust 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-