@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WhatIfForecastSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of the what-if forecast properties used in the ListWhatIfForecasts operation. To get the
complete set of properties, call the DescribeWhatIfForecast operation, and provide the
WhatIfForecastArn
that is listed in the summary.
Constructor and Description |
---|
WhatIfForecastSummary() |
Modifier and Type | Method and Description |
---|---|
WhatIfForecastSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
When the what-if forecast was created.
|
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 forecast.
|
String |
getWhatIfAnalysisArn()
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
|
String |
getWhatIfForecastArn()
The Amazon Resource Name (ARN) of the what-if forecast.
|
String |
getWhatIfForecastName()
The name of the what-if forecast.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
When the what-if forecast was created.
|
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 forecast.
|
void |
setWhatIfAnalysisArn(String whatIfAnalysisArn)
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
|
void |
setWhatIfForecastArn(String whatIfForecastArn)
The Amazon Resource Name (ARN) of the what-if forecast.
|
void |
setWhatIfForecastName(String whatIfForecastName)
The name of the what-if forecast.
|
String |
toString()
Returns a string representation of this object.
|
WhatIfForecastSummary |
withCreationTime(Date creationTime)
When the what-if forecast was created.
|
WhatIfForecastSummary |
withLastModificationTime(Date lastModificationTime)
The last time the resource was modified.
|
WhatIfForecastSummary |
withMessage(String message)
If an error occurred, an informational message about the error.
|
WhatIfForecastSummary |
withStatus(String status)
The status of the what-if forecast.
|
WhatIfForecastSummary |
withWhatIfAnalysisArn(String whatIfAnalysisArn)
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
|
WhatIfForecastSummary |
withWhatIfForecastArn(String whatIfForecastArn)
The Amazon Resource Name (ARN) of the what-if forecast.
|
WhatIfForecastSummary |
withWhatIfForecastName(String whatIfForecastName)
The name of the what-if forecast.
|
public void setWhatIfForecastArn(String whatIfForecastArn)
The Amazon Resource Name (ARN) of the what-if forecast.
whatIfForecastArn
- The Amazon Resource Name (ARN) of the what-if forecast.public String getWhatIfForecastArn()
The Amazon Resource Name (ARN) of the what-if forecast.
public WhatIfForecastSummary withWhatIfForecastArn(String whatIfForecastArn)
The Amazon Resource Name (ARN) of the what-if forecast.
whatIfForecastArn
- The Amazon Resource Name (ARN) of the what-if forecast.public void setWhatIfForecastName(String whatIfForecastName)
The name of the what-if forecast.
whatIfForecastName
- The name of the what-if forecast.public String getWhatIfForecastName()
The name of the what-if forecast.
public WhatIfForecastSummary withWhatIfForecastName(String whatIfForecastName)
The name of the what-if forecast.
whatIfForecastName
- The name of the what-if forecast.public void setWhatIfAnalysisArn(String whatIfAnalysisArn)
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
whatIfAnalysisArn
- The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.public String getWhatIfAnalysisArn()
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
public WhatIfForecastSummary withWhatIfAnalysisArn(String whatIfAnalysisArn)
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
whatIfAnalysisArn
- The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.public void setStatus(String status)
The status of the what-if 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 what-if analysis must be ACTIVE
before you can access the analysis.
status
- The status of the what-if 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 what-if analysis must be ACTIVE
before you can access the
analysis.
public String getStatus()
The status of the what-if 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 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 WhatIfForecastSummary withStatus(String status)
The status of the what-if 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 what-if analysis must be ACTIVE
before you can access the analysis.
status
- The status of the what-if 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 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 WhatIfForecastSummary 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 forecast was created.
creationTime
- When the what-if forecast was created.public Date getCreationTime()
When the what-if forecast was created.
public WhatIfForecastSummary withCreationTime(Date creationTime)
When the what-if forecast was created.
creationTime
- When the what-if forecast 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 WhatIfForecastSummary 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 WhatIfForecastSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.