Class ForecastGeofenceEventsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.location.model.LocationRequest
-
- software.amazon.awssdk.services.location.model.ForecastGeofenceEventsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ForecastGeofenceEventsRequest.Builder,ForecastGeofenceEventsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ForecastGeofenceEventsRequest extends LocationRequest implements ToCopyableBuilder<ForecastGeofenceEventsRequest.Builder,ForecastGeofenceEventsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceForecastGeofenceEventsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ForecastGeofenceEventsRequest.Builderbuilder()StringcollectionName()The name of the geofence collection.ForecastGeofenceEventsDeviceStatedeviceState()The device's state, including current position and speed.DistanceUnitdistanceUnit()The distance unit used for theNearestDistanceproperty returned in a forecasted event.StringdistanceUnitAsString()The distance unit used for theNearestDistanceproperty returned in a forecasted event.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()An optional limit for the number of resources returned in a single call.StringnextToken()The pagination token specifying which page of results to return in the response.List<SdkField<?>>sdkFields()static Class<? extends ForecastGeofenceEventsRequest.Builder>serializableBuilderClass()SpeedUnitspeedUnit()The speed unit for the device captured by the device state.StringspeedUnitAsString()The speed unit for the device captured by the device state.DoubletimeHorizonMinutes()Specifies the time horizon in minutes for the forecasted events.ForecastGeofenceEventsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
collectionName
public final String collectionName()
The name of the geofence collection.
- Returns:
- The name of the geofence collection.
-
deviceState
public final ForecastGeofenceEventsDeviceState deviceState()
The device's state, including current position and speed.
- Returns:
- The device's state, including current position and speed.
-
timeHorizonMinutes
public final Double timeHorizonMinutes()
Specifies the time horizon in minutes for the forecasted events.
- Returns:
- Specifies the time horizon in minutes for the forecasted events.
-
distanceUnit
public final DistanceUnit 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:
KilometersIf the service returns an enum value that is not available in the current SDK version,
distanceUnitwill returnDistanceUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdistanceUnitAsString().- Returns:
- 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 - See Also:
DistanceUnit
-
distanceUnitAsString
public final String distanceUnitAsString()
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:
KilometersIf the service returns an enum value that is not available in the current SDK version,
distanceUnitwill returnDistanceUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdistanceUnitAsString().- Returns:
- 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 - See Also:
DistanceUnit
-
speedUnit
public final SpeedUnit 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.If the service returns an enum value that is not available in the current SDK version,
speedUnitwill returnSpeedUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromspeedUnitAsString().- Returns:
- 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. - See Also:
SpeedUnit
-
speedUnitAsString
public final String speedUnitAsString()
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.If the service returns an enum value that is not available in the current SDK version,
speedUnitwill returnSpeedUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromspeedUnitAsString().- Returns:
- 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. - See Also:
SpeedUnit
-
nextToken
public final String 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:
- 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
-
maxResults
public final Integer maxResults()
An optional limit for the number of resources returned in a single call.
Default value:
20- Returns:
- An optional limit for the number of resources returned in a single call.
Default value:
20
-
toBuilder
public ForecastGeofenceEventsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ForecastGeofenceEventsRequest.Builder,ForecastGeofenceEventsRequest>- Specified by:
toBuilderin classLocationRequest
-
builder
public static ForecastGeofenceEventsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ForecastGeofenceEventsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-