@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeForecastResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeForecastResult() |
Modifier and Type | Method and Description |
---|---|
DescribeForecastResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
When the forecast creation task was created.
|
String |
getDatasetGroupArn()
The ARN of the dataset group that provided the data used to train the predictor.
|
String |
getForecastArn()
The forecast ARN as specified in the request.
|
String |
getForecastName()
The name of the forecast.
|
List<String> |
getForecastTypes()
The quantiles at which probabilistic forecasts were generated.
|
Date |
getLastModificationTime()
Initially, the same as
CreationTime (status is CREATE_PENDING ). |
String |
getMessage()
If an error occurred, an informational message about the error.
|
String |
getPredictorArn()
The ARN of the predictor used to generate the forecast.
|
String |
getStatus()
The status of the forecast.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
When the forecast creation task was created.
|
void |
setDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group that provided the data used to train the predictor.
|
void |
setForecastArn(String forecastArn)
The forecast ARN as specified in the request.
|
void |
setForecastName(String forecastName)
The name of the forecast.
|
void |
setForecastTypes(Collection<String> forecastTypes)
The quantiles at which probabilistic forecasts were generated.
|
void |
setLastModificationTime(Date lastModificationTime)
Initially, the same as
CreationTime (status is CREATE_PENDING ). |
void |
setMessage(String message)
If an error occurred, an informational message about the error.
|
void |
setPredictorArn(String predictorArn)
The ARN of the predictor used to generate the forecast.
|
void |
setStatus(String status)
The status of the forecast.
|
String |
toString()
Returns a string representation of this object.
|
DescribeForecastResult |
withCreationTime(Date creationTime)
When the forecast creation task was created.
|
DescribeForecastResult |
withDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group that provided the data used to train the predictor.
|
DescribeForecastResult |
withForecastArn(String forecastArn)
The forecast ARN as specified in the request.
|
DescribeForecastResult |
withForecastName(String forecastName)
The name of the forecast.
|
DescribeForecastResult |
withForecastTypes(Collection<String> forecastTypes)
The quantiles at which probabilistic forecasts were generated.
|
DescribeForecastResult |
withForecastTypes(String... forecastTypes)
The quantiles at which probabilistic forecasts were generated.
|
DescribeForecastResult |
withLastModificationTime(Date lastModificationTime)
Initially, the same as
CreationTime (status is CREATE_PENDING ). |
DescribeForecastResult |
withMessage(String message)
If an error occurred, an informational message about the error.
|
DescribeForecastResult |
withPredictorArn(String predictorArn)
The ARN of the predictor used to generate the forecast.
|
DescribeForecastResult |
withStatus(String status)
The status of the forecast.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setForecastArn(String forecastArn)
The forecast ARN as specified in the request.
forecastArn
- The forecast ARN as specified in the request.public String getForecastArn()
The forecast ARN as specified in the request.
public DescribeForecastResult withForecastArn(String forecastArn)
The forecast ARN as specified in the request.
forecastArn
- The forecast ARN as specified in the request.public void setForecastName(String forecastName)
The name of the forecast.
forecastName
- The name of the forecast.public String getForecastName()
The name of the forecast.
public DescribeForecastResult withForecastName(String forecastName)
The name of the forecast.
forecastName
- The name of the forecast.public List<String> getForecastTypes()
The quantiles at which probabilistic forecasts were generated.
public void setForecastTypes(Collection<String> forecastTypes)
The quantiles at which probabilistic forecasts were generated.
forecastTypes
- The quantiles at which probabilistic forecasts were generated.public DescribeForecastResult withForecastTypes(String... forecastTypes)
The quantiles at which probabilistic forecasts were generated.
NOTE: This method appends the values to the existing list (if any). Use
setForecastTypes(java.util.Collection)
or withForecastTypes(java.util.Collection)
if you want
to override the existing values.
forecastTypes
- The quantiles at which probabilistic forecasts were generated.public DescribeForecastResult withForecastTypes(Collection<String> forecastTypes)
The quantiles at which probabilistic forecasts were generated.
forecastTypes
- The quantiles at which probabilistic forecasts were generated.public void setPredictorArn(String predictorArn)
The ARN of the predictor used to generate the forecast.
predictorArn
- The ARN of the predictor used to generate the forecast.public String getPredictorArn()
The ARN of the predictor used to generate the forecast.
public DescribeForecastResult withPredictorArn(String predictorArn)
The ARN of the predictor used to generate the forecast.
predictorArn
- The ARN of the predictor used to generate the forecast.public void setDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group that provided the data used to train the predictor.
datasetGroupArn
- The ARN of the dataset group that provided the data used to train the predictor.public String getDatasetGroupArn()
The ARN of the dataset group that provided the data used to train the predictor.
public DescribeForecastResult withDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group that provided the data used to train the predictor.
datasetGroupArn
- The ARN of the dataset group that provided the data used to train the predictor.public void setStatus(String status)
The status of the forecast. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
The Status
of the forecast must be ACTIVE
before you can query or export the forecast.
status
- The status of the forecast. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
The Status
of the forecast must be ACTIVE
before you can query or export the
forecast.
public String getStatus()
The status of the forecast. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
The Status
of the forecast must be ACTIVE
before you can query or export the forecast.
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
The Status
of the forecast must be ACTIVE
before you can query or export the
forecast.
public DescribeForecastResult withStatus(String status)
The status of the forecast. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
The Status
of the forecast must be ACTIVE
before you can query or export the forecast.
status
- The status of the forecast. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
The Status
of the forecast must be ACTIVE
before you can query or export the
forecast.
public void setMessage(String message)
If an error occurred, an informational message about the error.
message
- If an error occurred, an informational message about the error.public String getMessage()
If an error occurred, an informational message about the error.
public DescribeForecastResult withMessage(String message)
If an error occurred, an informational message about the error.
message
- If an error occurred, an informational message about the error.public void setCreationTime(Date creationTime)
When the forecast creation task was created.
creationTime
- When the forecast creation task was created.public Date getCreationTime()
When the forecast creation task was created.
public DescribeForecastResult withCreationTime(Date creationTime)
When the forecast creation task was created.
creationTime
- When the forecast creation task was created.public void setLastModificationTime(Date lastModificationTime)
Initially, the same as CreationTime
(status is CREATE_PENDING
). Updated when inference
(creating the forecast) starts (status changed to CREATE_IN_PROGRESS
), and when inference is
complete (status changed to ACTIVE
) or fails (status changed to CREATE_FAILED
).
lastModificationTime
- Initially, the same as CreationTime
(status is CREATE_PENDING
). Updated when
inference (creating the forecast) starts (status changed to CREATE_IN_PROGRESS
), and when
inference is complete (status changed to ACTIVE
) or fails (status changed to
CREATE_FAILED
).public Date getLastModificationTime()
Initially, the same as CreationTime
(status is CREATE_PENDING
). Updated when inference
(creating the forecast) starts (status changed to CREATE_IN_PROGRESS
), and when inference is
complete (status changed to ACTIVE
) or fails (status changed to CREATE_FAILED
).
CreationTime
(status is CREATE_PENDING
). Updated when
inference (creating the forecast) starts (status changed to CREATE_IN_PROGRESS
), and when
inference is complete (status changed to ACTIVE
) or fails (status changed to
CREATE_FAILED
).public DescribeForecastResult withLastModificationTime(Date lastModificationTime)
Initially, the same as CreationTime
(status is CREATE_PENDING
). Updated when inference
(creating the forecast) starts (status changed to CREATE_IN_PROGRESS
), and when inference is
complete (status changed to ACTIVE
) or fails (status changed to CREATE_FAILED
).
lastModificationTime
- Initially, the same as CreationTime
(status is CREATE_PENDING
). Updated when
inference (creating the forecast) starts (status changed to CREATE_IN_PROGRESS
), and when
inference is complete (status changed to ACTIVE
) or fails (status changed to
CREATE_FAILED
).public String toString()
toString
in class Object
Object.toString()
public DescribeForecastResult clone()