@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEventPredictionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEventPredictionsResult() |
Modifier and Type | Method and Description |
---|---|
ListEventPredictionsResult |
clone() |
boolean |
equals(Object obj) |
List<EventPredictionSummary> |
getEventPredictionSummaries()
The summary of the past predictions.
|
String |
getNextToken()
Identifies the next page of results to return.
|
int |
hashCode() |
void |
setEventPredictionSummaries(Collection<EventPredictionSummary> eventPredictionSummaries)
The summary of the past predictions.
|
void |
setNextToken(String nextToken)
Identifies the next page of results to return.
|
String |
toString()
Returns a string representation of this object.
|
ListEventPredictionsResult |
withEventPredictionSummaries(Collection<EventPredictionSummary> eventPredictionSummaries)
The summary of the past predictions.
|
ListEventPredictionsResult |
withEventPredictionSummaries(EventPredictionSummary... eventPredictionSummaries)
The summary of the past predictions.
|
ListEventPredictionsResult |
withNextToken(String nextToken)
Identifies the next page of results to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EventPredictionSummary> getEventPredictionSummaries()
The summary of the past predictions.
public void setEventPredictionSummaries(Collection<EventPredictionSummary> eventPredictionSummaries)
The summary of the past predictions.
eventPredictionSummaries
- The summary of the past predictions.public ListEventPredictionsResult withEventPredictionSummaries(EventPredictionSummary... eventPredictionSummaries)
The summary of the past predictions.
NOTE: This method appends the values to the existing list (if any). Use
setEventPredictionSummaries(java.util.Collection)
or
withEventPredictionSummaries(java.util.Collection)
if you want to override the existing values.
eventPredictionSummaries
- The summary of the past predictions.public ListEventPredictionsResult withEventPredictionSummaries(Collection<EventPredictionSummary> eventPredictionSummaries)
The summary of the past predictions.
eventPredictionSummaries
- The summary of the past predictions.public void setNextToken(String nextToken)
Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
nextToken
- Identifies the next page of results to return. Use the token to make the call again to retrieve the next
page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.public String getNextToken()
Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
public ListEventPredictionsResult withNextToken(String nextToken)
Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
nextToken
- Identifies the next page of results to return. Use the token to make the call again to retrieve the next
page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.public String toString()
toString
in class Object
Object.toString()
public ListEventPredictionsResult clone()