@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.
|
Long |
getEstimatedTimeRemainingInMinutes()
The estimated time remaining in minutes for the forecast job to complete.
|
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()
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() |
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 |
setEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The estimated time remaining in minutes for the forecast job to complete.
|
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)
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.
|
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 |
withEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The estimated time remaining in minutes for the forecast job to complete.
|
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)
The last time the resource was modified.
|
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 setEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The estimated time remaining in minutes for the forecast job to complete.
estimatedTimeRemainingInMinutes
- The estimated time remaining in minutes for the forecast job to complete.public Long getEstimatedTimeRemainingInMinutes()
The estimated time remaining in minutes for the forecast job to complete.
public DescribeForecastResult withEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The estimated time remaining in minutes for the forecast job to complete.
estimatedTimeRemainingInMinutes
- The estimated time remaining in minutes for the forecast job to complete.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 DescribeForecastResult 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 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)
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 DescribeForecastResult 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 DescribeForecastResult clone()