@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) |
Boolean |
getCreatedUsingAutoPredictor()
Whether the Forecast was created from an AutoPredictor.
|
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()
The last time the resource was modified.
|
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() |
Boolean |
isCreatedUsingAutoPredictor()
Whether the Forecast was created from an AutoPredictor.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedUsingAutoPredictor(Boolean createdUsingAutoPredictor)
Whether the Forecast was created from an AutoPredictor.
|
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)
The last time the resource was modified.
|
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 |
withCreatedUsingAutoPredictor(Boolean createdUsingAutoPredictor)
Whether the Forecast was created from an AutoPredictor.
|
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)
The last time the resource was modified.
|
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 setCreatedUsingAutoPredictor(Boolean createdUsingAutoPredictor)
Whether the Forecast was created from an AutoPredictor.
createdUsingAutoPredictor
- Whether the Forecast was created from an AutoPredictor.public Boolean getCreatedUsingAutoPredictor()
Whether the Forecast was created from an AutoPredictor.
public ForecastSummary withCreatedUsingAutoPredictor(Boolean createdUsingAutoPredictor)
Whether the Forecast was created from an AutoPredictor.
createdUsingAutoPredictor
- Whether the Forecast was created from an AutoPredictor.public Boolean isCreatedUsingAutoPredictor()
Whether the Forecast was created from an AutoPredictor.
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
CREATE_STOPPING
, CREATE_STOPPED
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
CREATE_STOPPING
, CREATE_STOPPED
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
CREATE_STOPPING
, CREATE_STOPPED
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
CREATE_STOPPING
, CREATE_STOPPED
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
CREATE_STOPPING
, CREATE_STOPPED
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
CREATE_STOPPING
, CREATE_STOPPED
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)
The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
lastModificationTime
- The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
public Date getLastModificationTime()
The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
public ForecastSummary withLastModificationTime(Date lastModificationTime)
The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
lastModificationTime
- The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
CREATE_STOPPING
- The current timestamp.
CREATE_STOPPED
- When the job stopped.
ACTIVE
or CREATE_FAILED
- When the job finished or 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.