@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ForecastSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of the forecast properties used in the ListForecasts operation. To get the complete set of
properties, call the DescribeForecast operation, and provide the ForecastArn
that is listed in
the summary.
Constructor and Description |
---|
ForecastSummary() |
Modifier and Type | Method and Description |
---|---|
ForecastSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
When the forecast creation task was created.
|
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.
|
String |
getForecastArn()
The ARN of the forecast.
|
String |
getForecastName()
The name of the forecast.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
When the forecast creation task was created.
|
void |
setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.
|
void |
setForecastArn(String forecastArn)
The ARN of the forecast.
|
void |
setForecastName(String forecastName)
The name of the forecast.
|
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.
|
ForecastSummary |
withCreationTime(Date creationTime)
When the forecast creation task was created.
|
ForecastSummary |
withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.
|
ForecastSummary |
withForecastArn(String forecastArn)
The ARN of the forecast.
|
ForecastSummary |
withForecastName(String forecastName)
The name of the forecast.
|
ForecastSummary |
withLastModificationTime(Date lastModificationTime)
Initially, the same as
CreationTime (status is CREATE_PENDING ). |
ForecastSummary |
withMessage(String message)
If an error occurred, an informational message about the error.
|
ForecastSummary |
withPredictorArn(String predictorArn)
The ARN of the predictor used to generate the forecast.
|
ForecastSummary |
withStatus(String status)
The status of the forecast.
|
public void setForecastArn(String forecastArn)
The ARN of the forecast.
forecastArn
- The ARN of the forecast.public String getForecastArn()
The ARN of the forecast.
public ForecastSummary withForecastArn(String forecastArn)
The ARN of the forecast.
forecastArn
- The ARN of the forecast.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 ForecastSummary withForecastName(String forecastName)
The name of the forecast.
forecastName
- The name of the forecast.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 ForecastSummary 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 Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.public String getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.
public ForecastSummary withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.
datasetGroupArn
- The Amazon Resource Name (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 ForecastSummary 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 ForecastSummary 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 ForecastSummary 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 ForecastSummary 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 ForecastSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.