@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryForecastRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
QueryForecastRequest() |
Modifier and Type | Method and Description |
---|---|
QueryForecastRequest |
addFiltersEntry(String key,
String value)
Add a single Filters entry
|
QueryForecastRequest |
clearFiltersEntries()
Removes all the entries added into Filters.
|
QueryForecastRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEndDate()
The end date for the forecast.
|
Map<String,String> |
getFilters()
The filtering criteria to apply when retrieving the forecast.
|
String |
getForecastArn()
The Amazon Resource Name (ARN) of the forecast to query.
|
String |
getNextToken()
If the result of the previous request was truncated, the response includes a
NextToken . |
String |
getStartDate()
The start date for the forecast.
|
int |
hashCode() |
void |
setEndDate(String endDate)
The end date for the forecast.
|
void |
setFilters(Map<String,String> filters)
The filtering criteria to apply when retrieving the forecast.
|
void |
setForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the forecast to query.
|
void |
setNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a
NextToken . |
void |
setStartDate(String startDate)
The start date for the forecast.
|
String |
toString()
Returns a string representation of this object.
|
QueryForecastRequest |
withEndDate(String endDate)
The end date for the forecast.
|
QueryForecastRequest |
withFilters(Map<String,String> filters)
The filtering criteria to apply when retrieving the forecast.
|
QueryForecastRequest |
withForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the forecast to query.
|
QueryForecastRequest |
withNextToken(String nextToken)
If the result of the previous request was truncated, the response includes a
NextToken . |
QueryForecastRequest |
withStartDate(String startDate)
The start date for the forecast.
|
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 setForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the forecast to query.
forecastArn
- The Amazon Resource Name (ARN) of the forecast to query.public String getForecastArn()
The Amazon Resource Name (ARN) of the forecast to query.
public QueryForecastRequest withForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the forecast to query.
forecastArn
- The Amazon Resource Name (ARN) of the forecast to query.public void setStartDate(String startDate)
The start date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T08:00:00.
startDate
- The start date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601
format). For example, 2015-01-01T08:00:00.public String getStartDate()
The start date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T08:00:00.
public QueryForecastRequest withStartDate(String startDate)
The start date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T08:00:00.
startDate
- The start date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601
format). For example, 2015-01-01T08:00:00.public void setEndDate(String endDate)
The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T20:00:00.
endDate
- The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601
format). For example, 2015-01-01T20:00:00.public String getEndDate()
The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T20:00:00.
public QueryForecastRequest withEndDate(String endDate)
The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T20:00:00.
endDate
- The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601
format). For example, 2015-01-01T20:00:00.public Map<String,String> getFilters()
The filtering criteria to apply when retrieving the forecast. For example, to get the forecast for
client_21
in the electricity usage dataset, specify the following:
{"item_id" : "client_21"}
To get the full forecast, use the CreateForecastExportJob operation.
client_21
in the electricity usage dataset, specify the following:
{"item_id" : "client_21"}
To get the full forecast, use the CreateForecastExportJob operation.
public void setFilters(Map<String,String> filters)
The filtering criteria to apply when retrieving the forecast. For example, to get the forecast for
client_21
in the electricity usage dataset, specify the following:
{"item_id" : "client_21"}
To get the full forecast, use the CreateForecastExportJob operation.
filters
- The filtering criteria to apply when retrieving the forecast. For example, to get the forecast for
client_21
in the electricity usage dataset, specify the following:
{"item_id" : "client_21"}
To get the full forecast, use the CreateForecastExportJob operation.
public QueryForecastRequest withFilters(Map<String,String> filters)
The filtering criteria to apply when retrieving the forecast. For example, to get the forecast for
client_21
in the electricity usage dataset, specify the following:
{"item_id" : "client_21"}
To get the full forecast, use the CreateForecastExportJob operation.
filters
- The filtering criteria to apply when retrieving the forecast. For example, to get the forecast for
client_21
in the electricity usage dataset, specify the following:
{"item_id" : "client_21"}
To get the full forecast, use the CreateForecastExportJob operation.
public QueryForecastRequest addFiltersEntry(String key, String value)
public QueryForecastRequest clearFiltersEntries()
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 QueryForecastRequest 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 String toString()
toString
in class Object
Object.toString()
public QueryForecastRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()