@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ForecastGeofenceEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ForecastGeofenceEventsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ForecastGeofenceEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCollectionName()
The name of the geofence collection.
|
ForecastGeofenceEventsDeviceState |
getDeviceState()
The device's state, including current position and speed.
|
String |
getDistanceUnit()
The distance unit used for the
NearestDistance property returned in a forecasted event. |
Integer |
getMaxResults()
An optional limit for the number of resources returned in a single call.
|
String |
getNextToken()
The pagination token specifying which page of results to return in the response.
|
String |
getSpeedUnit()
The speed unit for the device captured by the device state.
|
Double |
getTimeHorizonMinutes()
Specifies the time horizon in minutes for the forecasted events.
|
int |
hashCode() |
void |
setCollectionName(String collectionName)
The name of the geofence collection.
|
void |
setDeviceState(ForecastGeofenceEventsDeviceState deviceState)
The device's state, including current position and speed.
|
void |
setDistanceUnit(String distanceUnit)
The distance unit used for the
NearestDistance property returned in a forecasted event. |
void |
setMaxResults(Integer maxResults)
An optional limit for the number of resources returned in a single call.
|
void |
setNextToken(String nextToken)
The pagination token specifying which page of results to return in the response.
|
void |
setSpeedUnit(String speedUnit)
The speed unit for the device captured by the device state.
|
void |
setTimeHorizonMinutes(Double timeHorizonMinutes)
Specifies the time horizon in minutes for the forecasted events.
|
String |
toString()
Returns a string representation of this object.
|
ForecastGeofenceEventsRequest |
withCollectionName(String collectionName)
The name of the geofence collection.
|
ForecastGeofenceEventsRequest |
withDeviceState(ForecastGeofenceEventsDeviceState deviceState)
The device's state, including current position and speed.
|
ForecastGeofenceEventsRequest |
withDistanceUnit(DistanceUnit distanceUnit)
The distance unit used for the
NearestDistance property returned in a forecasted event. |
ForecastGeofenceEventsRequest |
withDistanceUnit(String distanceUnit)
The distance unit used for the
NearestDistance property returned in a forecasted event. |
ForecastGeofenceEventsRequest |
withMaxResults(Integer maxResults)
An optional limit for the number of resources returned in a single call.
|
ForecastGeofenceEventsRequest |
withNextToken(String nextToken)
The pagination token specifying which page of results to return in the response.
|
ForecastGeofenceEventsRequest |
withSpeedUnit(SpeedUnit speedUnit)
The speed unit for the device captured by the device state.
|
ForecastGeofenceEventsRequest |
withSpeedUnit(String speedUnit)
The speed unit for the device captured by the device state.
|
ForecastGeofenceEventsRequest |
withTimeHorizonMinutes(Double timeHorizonMinutes)
Specifies the time horizon in minutes for the forecasted events.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCollectionName(String collectionName)
The name of the geofence collection.
collectionName - The name of the geofence collection.public String getCollectionName()
The name of the geofence collection.
public ForecastGeofenceEventsRequest withCollectionName(String collectionName)
The name of the geofence collection.
collectionName - The name of the geofence collection.public void setDeviceState(ForecastGeofenceEventsDeviceState deviceState)
The device's state, including current position and speed.
deviceState - The device's state, including current position and speed.public ForecastGeofenceEventsDeviceState getDeviceState()
The device's state, including current position and speed.
public ForecastGeofenceEventsRequest withDeviceState(ForecastGeofenceEventsDeviceState deviceState)
The device's state, including current position and speed.
deviceState - The device's state, including current position and speed.public void setTimeHorizonMinutes(Double timeHorizonMinutes)
Specifies the time horizon in minutes for the forecasted events.
timeHorizonMinutes - Specifies the time horizon in minutes for the forecasted events.public Double getTimeHorizonMinutes()
Specifies the time horizon in minutes for the forecasted events.
public ForecastGeofenceEventsRequest withTimeHorizonMinutes(Double timeHorizonMinutes)
Specifies the time horizon in minutes for the forecasted events.
timeHorizonMinutes - Specifies the time horizon in minutes for the forecasted events.public void setDistanceUnit(String distanceUnit)
The distance unit used for the NearestDistance property returned in a forecasted event. The
measurement system must match for DistanceUnit and SpeedUnit; if
Kilometers is specified for DistanceUnit, then SpeedUnit must be
KilometersPerHour.
Default Value: Kilometers
distanceUnit - The distance unit used for the NearestDistance property returned in a forecasted event. The
measurement system must match for DistanceUnit and SpeedUnit; if
Kilometers is specified for DistanceUnit, then SpeedUnit must be
KilometersPerHour.
Default Value: Kilometers
DistanceUnitpublic String getDistanceUnit()
The distance unit used for the NearestDistance property returned in a forecasted event. The
measurement system must match for DistanceUnit and SpeedUnit; if
Kilometers is specified for DistanceUnit, then SpeedUnit must be
KilometersPerHour.
Default Value: Kilometers
NearestDistance property returned in a forecasted event. The
measurement system must match for DistanceUnit and SpeedUnit; if
Kilometers is specified for DistanceUnit, then SpeedUnit must be
KilometersPerHour.
Default Value: Kilometers
DistanceUnitpublic ForecastGeofenceEventsRequest withDistanceUnit(String distanceUnit)
The distance unit used for the NearestDistance property returned in a forecasted event. The
measurement system must match for DistanceUnit and SpeedUnit; if
Kilometers is specified for DistanceUnit, then SpeedUnit must be
KilometersPerHour.
Default Value: Kilometers
distanceUnit - The distance unit used for the NearestDistance property returned in a forecasted event. The
measurement system must match for DistanceUnit and SpeedUnit; if
Kilometers is specified for DistanceUnit, then SpeedUnit must be
KilometersPerHour.
Default Value: Kilometers
DistanceUnitpublic ForecastGeofenceEventsRequest withDistanceUnit(DistanceUnit distanceUnit)
The distance unit used for the NearestDistance property returned in a forecasted event. The
measurement system must match for DistanceUnit and SpeedUnit; if
Kilometers is specified for DistanceUnit, then SpeedUnit must be
KilometersPerHour.
Default Value: Kilometers
distanceUnit - The distance unit used for the NearestDistance property returned in a forecasted event. The
measurement system must match for DistanceUnit and SpeedUnit; if
Kilometers is specified for DistanceUnit, then SpeedUnit must be
KilometersPerHour.
Default Value: Kilometers
DistanceUnitpublic void setSpeedUnit(String speedUnit)
The speed unit for the device captured by the device state. The measurement system must match for
DistanceUnit and SpeedUnit; if Kilometers is specified for
DistanceUnit, then SpeedUnit must be KilometersPerHour.
Default Value: KilometersPerHour.
speedUnit - The speed unit for the device captured by the device state. The measurement system must match for
DistanceUnit and SpeedUnit; if Kilometers is specified for
DistanceUnit, then SpeedUnit must be KilometersPerHour.
Default Value: KilometersPerHour.
SpeedUnitpublic String getSpeedUnit()
The speed unit for the device captured by the device state. The measurement system must match for
DistanceUnit and SpeedUnit; if Kilometers is specified for
DistanceUnit, then SpeedUnit must be KilometersPerHour.
Default Value: KilometersPerHour.
DistanceUnit and SpeedUnit; if Kilometers is specified for
DistanceUnit, then SpeedUnit must be KilometersPerHour.
Default Value: KilometersPerHour.
SpeedUnitpublic ForecastGeofenceEventsRequest withSpeedUnit(String speedUnit)
The speed unit for the device captured by the device state. The measurement system must match for
DistanceUnit and SpeedUnit; if Kilometers is specified for
DistanceUnit, then SpeedUnit must be KilometersPerHour.
Default Value: KilometersPerHour.
speedUnit - The speed unit for the device captured by the device state. The measurement system must match for
DistanceUnit and SpeedUnit; if Kilometers is specified for
DistanceUnit, then SpeedUnit must be KilometersPerHour.
Default Value: KilometersPerHour.
SpeedUnitpublic ForecastGeofenceEventsRequest withSpeedUnit(SpeedUnit speedUnit)
The speed unit for the device captured by the device state. The measurement system must match for
DistanceUnit and SpeedUnit; if Kilometers is specified for
DistanceUnit, then SpeedUnit must be KilometersPerHour.
Default Value: KilometersPerHour.
speedUnit - The speed unit for the device captured by the device state. The measurement system must match for
DistanceUnit and SpeedUnit; if Kilometers is specified for
DistanceUnit, then SpeedUnit must be KilometersPerHour.
Default Value: KilometersPerHour.
SpeedUnitpublic void setNextToken(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
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
public String getNextToken()
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
Default value: null
public ForecastGeofenceEventsRequest withNextToken(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
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
public void setMaxResults(Integer maxResults)
An optional limit for the number of resources returned in a single call.
Default value: 20
maxResults - An optional limit for the number of resources returned in a single call.
Default value: 20
public Integer getMaxResults()
An optional limit for the number of resources returned in a single call.
Default value: 20
Default value: 20
public ForecastGeofenceEventsRequest withMaxResults(Integer maxResults)
An optional limit for the number of resources returned in a single call.
Default value: 20
maxResults - An optional limit for the number of resources returned in a single call.
Default value: 20
public String toString()
toString in class ObjectObject.toString()public ForecastGeofenceEventsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()