@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWhatIfAnalysisResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeWhatIfAnalysisResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWhatIfAnalysisResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
When the what-if analysis was created.
|
Long |
getEstimatedTimeRemainingInMinutes()
The approximate time remaining to complete the what-if analysis, in minutes.
|
String |
getForecastArn()
The Amazon Resource Name (ARN) of the what-if forecast.
|
Date |
getLastModificationTime()
The last time the resource was modified.
|
String |
getMessage()
If an error occurred, an informational message about the error.
|
String |
getStatus()
The status of the what-if analysis.
|
TimeSeriesSelector |
getTimeSeriesSelector() |
String |
getWhatIfAnalysisArn()
The Amazon Resource Name (ARN) of the what-if analysis.
|
String |
getWhatIfAnalysisName()
The name of the what-if analysis.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
When the what-if analysis was created.
|
void |
setEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The approximate time remaining to complete the what-if analysis, in minutes.
|
void |
setForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the what-if 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 |
setStatus(String status)
The status of the what-if analysis.
|
void |
setTimeSeriesSelector(TimeSeriesSelector timeSeriesSelector) |
void |
setWhatIfAnalysisArn(String whatIfAnalysisArn)
The Amazon Resource Name (ARN) of the what-if analysis.
|
void |
setWhatIfAnalysisName(String whatIfAnalysisName)
The name of the what-if analysis.
|
String |
toString()
Returns a string representation of this object.
|
DescribeWhatIfAnalysisResult |
withCreationTime(Date creationTime)
When the what-if analysis was created.
|
DescribeWhatIfAnalysisResult |
withEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The approximate time remaining to complete the what-if analysis, in minutes.
|
DescribeWhatIfAnalysisResult |
withForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the what-if forecast.
|
DescribeWhatIfAnalysisResult |
withLastModificationTime(Date lastModificationTime)
The last time the resource was modified.
|
DescribeWhatIfAnalysisResult |
withMessage(String message)
If an error occurred, an informational message about the error.
|
DescribeWhatIfAnalysisResult |
withStatus(String status)
The status of the what-if analysis.
|
DescribeWhatIfAnalysisResult |
withTimeSeriesSelector(TimeSeriesSelector timeSeriesSelector) |
DescribeWhatIfAnalysisResult |
withWhatIfAnalysisArn(String whatIfAnalysisArn)
The Amazon Resource Name (ARN) of the what-if analysis.
|
DescribeWhatIfAnalysisResult |
withWhatIfAnalysisName(String whatIfAnalysisName)
The name of the what-if analysis.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setWhatIfAnalysisName(String whatIfAnalysisName)
The name of the what-if analysis.
whatIfAnalysisName
- The name of the what-if analysis.public String getWhatIfAnalysisName()
The name of the what-if analysis.
public DescribeWhatIfAnalysisResult withWhatIfAnalysisName(String whatIfAnalysisName)
The name of the what-if analysis.
whatIfAnalysisName
- The name of the what-if analysis.public void setWhatIfAnalysisArn(String whatIfAnalysisArn)
The Amazon Resource Name (ARN) of the what-if analysis.
whatIfAnalysisArn
- The Amazon Resource Name (ARN) of the what-if analysis.public String getWhatIfAnalysisArn()
The Amazon Resource Name (ARN) of the what-if analysis.
public DescribeWhatIfAnalysisResult withWhatIfAnalysisArn(String whatIfAnalysisArn)
The Amazon Resource Name (ARN) of the what-if analysis.
whatIfAnalysisArn
- The Amazon Resource Name (ARN) of the what-if analysis.public void setForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the what-if forecast.
forecastArn
- The Amazon Resource Name (ARN) of the what-if forecast.public String getForecastArn()
The Amazon Resource Name (ARN) of the what-if forecast.
public DescribeWhatIfAnalysisResult withForecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the what-if forecast.
forecastArn
- The Amazon Resource Name (ARN) of the what-if forecast.public void setEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The approximate time remaining to complete the what-if analysis, in minutes.
estimatedTimeRemainingInMinutes
- The approximate time remaining to complete the what-if analysis, in minutes.public Long getEstimatedTimeRemainingInMinutes()
The approximate time remaining to complete the what-if analysis, in minutes.
public DescribeWhatIfAnalysisResult withEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The approximate time remaining to complete the what-if analysis, in minutes.
estimatedTimeRemainingInMinutes
- The approximate time remaining to complete the what-if analysis, in minutes.public void setStatus(String status)
The status of the what-if analysis. 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 what-if analysis must be ACTIVE
before you can access the analysis.
status
- The status of the what-if analysis. 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 what-if analysis must be ACTIVE
before you can access the
analysis.
public String getStatus()
The status of the what-if analysis. 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 what-if analysis must be ACTIVE
before you can access the analysis.
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
CREATE_STOPPING
, CREATE_STOPPED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
The Status
of the what-if analysis must be ACTIVE
before you can access the
analysis.
public DescribeWhatIfAnalysisResult withStatus(String status)
The status of the what-if analysis. 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 what-if analysis must be ACTIVE
before you can access the analysis.
status
- The status of the what-if analysis. 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 what-if analysis must be ACTIVE
before you can access the
analysis.
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 DescribeWhatIfAnalysisResult 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 what-if analysis was created.
creationTime
- When the what-if analysis was created.public Date getCreationTime()
When the what-if analysis was created.
public DescribeWhatIfAnalysisResult withCreationTime(Date creationTime)
When the what-if analysis was created.
creationTime
- When the what-if analysis 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 DescribeWhatIfAnalysisResult 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 void setTimeSeriesSelector(TimeSeriesSelector timeSeriesSelector)
timeSeriesSelector
- public TimeSeriesSelector getTimeSeriesSelector()
public DescribeWhatIfAnalysisResult withTimeSeriesSelector(TimeSeriesSelector timeSeriesSelector)
timeSeriesSelector
- public String toString()
toString
in class Object
Object.toString()
public DescribeWhatIfAnalysisResult clone()