@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ForecastGeofenceEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ForecastGeofenceEventsResult() |
Modifier and Type | Method and Description |
---|---|
ForecastGeofenceEventsResult |
clone() |
boolean |
equals(Object obj) |
String |
getDistanceUnit()
The distance unit for the forecasted events.
|
List<ForecastedEvent> |
getForecastedEvents()
The list of forecasted events.
|
String |
getNextToken()
The pagination token specifying which page of results to return in the response.
|
String |
getSpeedUnit()
The speed unit for the forecasted events.
|
int |
hashCode() |
void |
setDistanceUnit(String distanceUnit)
The distance unit for the forecasted events.
|
void |
setForecastedEvents(Collection<ForecastedEvent> forecastedEvents)
The list of forecasted events.
|
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 forecasted events.
|
String |
toString()
Returns a string representation of this object.
|
ForecastGeofenceEventsResult |
withDistanceUnit(DistanceUnit distanceUnit)
The distance unit for the forecasted events.
|
ForecastGeofenceEventsResult |
withDistanceUnit(String distanceUnit)
The distance unit for the forecasted events.
|
ForecastGeofenceEventsResult |
withForecastedEvents(Collection<ForecastedEvent> forecastedEvents)
The list of forecasted events.
|
ForecastGeofenceEventsResult |
withForecastedEvents(ForecastedEvent... forecastedEvents)
The list of forecasted events.
|
ForecastGeofenceEventsResult |
withNextToken(String nextToken)
The pagination token specifying which page of results to return in the response.
|
ForecastGeofenceEventsResult |
withSpeedUnit(SpeedUnit speedUnit)
The speed unit for the forecasted events.
|
ForecastGeofenceEventsResult |
withSpeedUnit(String speedUnit)
The speed unit for the forecasted events.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ForecastedEvent> getForecastedEvents()
The list of forecasted events.
public void setForecastedEvents(Collection<ForecastedEvent> forecastedEvents)
The list of forecasted events.
forecastedEvents
- The list of forecasted events.public ForecastGeofenceEventsResult withForecastedEvents(ForecastedEvent... forecastedEvents)
The list of forecasted events.
NOTE: This method appends the values to the existing list (if any). Use
setForecastedEvents(java.util.Collection)
or withForecastedEvents(java.util.Collection)
if you
want to override the existing values.
forecastedEvents
- The list of forecasted events.public ForecastGeofenceEventsResult withForecastedEvents(Collection<ForecastedEvent> forecastedEvents)
The list of forecasted events.
forecastedEvents
- The list of forecasted events.public 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.
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.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.
public ForecastGeofenceEventsResult 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.
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.public void setDistanceUnit(String distanceUnit)
The distance unit for the forecasted events.
distanceUnit
- The distance unit for the forecasted events.DistanceUnit
public String getDistanceUnit()
The distance unit for the forecasted events.
DistanceUnit
public ForecastGeofenceEventsResult withDistanceUnit(String distanceUnit)
The distance unit for the forecasted events.
distanceUnit
- The distance unit for the forecasted events.DistanceUnit
public ForecastGeofenceEventsResult withDistanceUnit(DistanceUnit distanceUnit)
The distance unit for the forecasted events.
distanceUnit
- The distance unit for the forecasted events.DistanceUnit
public void setSpeedUnit(String speedUnit)
The speed unit for the forecasted events.
speedUnit
- The speed unit for the forecasted events.SpeedUnit
public String getSpeedUnit()
The speed unit for the forecasted events.
SpeedUnit
public ForecastGeofenceEventsResult withSpeedUnit(String speedUnit)
The speed unit for the forecasted events.
speedUnit
- The speed unit for the forecasted events.SpeedUnit
public ForecastGeofenceEventsResult withSpeedUnit(SpeedUnit speedUnit)
The speed unit for the forecasted events.
speedUnit
- The speed unit for the forecasted events.SpeedUnit
public String toString()
toString
in class Object
Object.toString()
public ForecastGeofenceEventsResult clone()