@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListForecastsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListForecastsRequest() |
Modifier and Type | Method and Description |
---|---|
ListForecastsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
An array of filters.
|
Integer |
getMaxResults()
The number of items to return in the response.
|
String |
getNextToken()
If the result of the previous request was truncated, the response includes a
NextToken . |
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
An array of filters.
|
void |
setMaxResults(Integer maxResults)
The number of items to return in the response.
|
void |
setNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a
NextToken . |
String |
toString()
Returns a string representation of this object.
|
ListForecastsRequest |
withFilters(Collection<Filter> filters)
An array of filters.
|
ListForecastsRequest |
withFilters(Filter... filters)
An array of filters.
|
ListForecastsRequest |
withMaxResults(Integer maxResults)
The number of items to return in the response.
|
ListForecastsRequest |
withNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a
NextToken . |
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, withSdkRequestTimeout
public void setNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a NextToken
. To retrieve
the next set of results, use the token in the next request. Tokens expire after 24 hours.
nextToken
- If the result of the previous request was truncated, the response includes a NextToken
. To
retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.public String getNextToken()
If the result of the previous request was truncated, the response includes a NextToken
. To retrieve
the next set of results, use the token in the next request. Tokens expire after 24 hours.
NextToken
. To
retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.public ListForecastsRequest withNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a NextToken
. To retrieve
the next set of results, use the token in the next request. Tokens expire after 24 hours.
nextToken
- If the result of the previous request was truncated, the response includes a NextToken
. To
retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.public void setMaxResults(Integer maxResults)
The number of items to return in the response.
maxResults
- The number of items to return in the response.public Integer getMaxResults()
The number of items to return in the response.
public ListForecastsRequest withMaxResults(Integer maxResults)
The number of items to return in the response.
maxResults
- The number of items to return in the response.public List<Filter> getFilters()
An array of filters. For each filter, you provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude, respectively, from the
list, the predictors that match the statement. The match statement consists of a key and a value. In this
release, Name
is the only valid key, which filters on the ForecastName
property.
Condition
- IS
or IS_NOT
Key
- Name
Value
- the value to match
For example, to list all forecasts named my_forecast, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast" } ]
IS
or IS_NOT
, which specifies whether to include or exclude,
respectively, from the list, the predictors that match the statement. The match statement consists of a
key and a value. In this release, Name
is the only valid key, which filters on the
ForecastName
property.
Condition
- IS
or IS_NOT
Key
- Name
Value
- the value to match
For example, to list all forecasts named my_forecast, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast" } ]
public void setFilters(Collection<Filter> filters)
An array of filters. For each filter, you provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude, respectively, from the
list, the predictors that match the statement. The match statement consists of a key and a value. In this
release, Name
is the only valid key, which filters on the ForecastName
property.
Condition
- IS
or IS_NOT
Key
- Name
Value
- the value to match
For example, to list all forecasts named my_forecast, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast" } ]
filters
- An array of filters. For each filter, you provide a condition and a match statement. The condition is
either IS
or IS_NOT
, which specifies whether to include or exclude,
respectively, from the list, the predictors that match the statement. The match statement consists of a
key and a value. In this release, Name
is the only valid key, which filters on the
ForecastName
property.
Condition
- IS
or IS_NOT
Key
- Name
Value
- the value to match
For example, to list all forecasts named my_forecast, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast" } ]
public ListForecastsRequest withFilters(Filter... filters)
An array of filters. For each filter, you provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude, respectively, from the
list, the predictors that match the statement. The match statement consists of a key and a value. In this
release, Name
is the only valid key, which filters on the ForecastName
property.
Condition
- IS
or IS_NOT
Key
- Name
Value
- the value to match
For example, to list all forecasts named my_forecast, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast" } ]
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- An array of filters. For each filter, you provide a condition and a match statement. The condition is
either IS
or IS_NOT
, which specifies whether to include or exclude,
respectively, from the list, the predictors that match the statement. The match statement consists of a
key and a value. In this release, Name
is the only valid key, which filters on the
ForecastName
property.
Condition
- IS
or IS_NOT
Key
- Name
Value
- the value to match
For example, to list all forecasts named my_forecast, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast" } ]
public ListForecastsRequest withFilters(Collection<Filter> filters)
An array of filters. For each filter, you provide a condition and a match statement. The condition is either
IS
or IS_NOT
, which specifies whether to include or exclude, respectively, from the
list, the predictors that match the statement. The match statement consists of a key and a value. In this
release, Name
is the only valid key, which filters on the ForecastName
property.
Condition
- IS
or IS_NOT
Key
- Name
Value
- the value to match
For example, to list all forecasts named my_forecast, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast" } ]
filters
- An array of filters. For each filter, you provide a condition and a match statement. The condition is
either IS
or IS_NOT
, which specifies whether to include or exclude,
respectively, from the list, the predictors that match the statement. The match statement consists of a
key and a value. In this release, Name
is the only valid key, which filters on the
ForecastName
property.
Condition
- IS
or IS_NOT
Key
- Name
Value
- the value to match
For example, to list all forecasts named my_forecast, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast" } ]
public String toString()
toString
in class Object
Object.toString()
public ListForecastsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.