Class ChangeSetSummary
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.ChangeSetSummary
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ChangeSetSummary extends Object implements Serializable, Cloneable
The
ChangeSetSummarystructure describes a change set, its status, and the stack with which it's associated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChangeSetSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeSetSummaryclone()booleanequals(Object obj)StringgetChangeSetId()The ID of the change set.StringgetChangeSetName()The name of the change set.DategetCreationTime()The start time when the change set was created, in UTC.StringgetDescription()Descriptive information about the change set.StringgetExecutionStatus()If the change set execution status isAVAILABLE, you can execute the change set.StringgetStackId()The ID of the stack with which the change set is associated.StringgetStackName()The name of the stack with which the change set is associated.StringgetStatus()The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.StringgetStatusReason()A description of the change set's status.inthashCode()voidsetChangeSetId(String changeSetId)The ID of the change set.voidsetChangeSetName(String changeSetName)The name of the change set.voidsetCreationTime(Date creationTime)The start time when the change set was created, in UTC.voidsetDescription(String description)Descriptive information about the change set.voidsetExecutionStatus(ExecutionStatus executionStatus)If the change set execution status isAVAILABLE, you can execute the change set.voidsetExecutionStatus(String executionStatus)If the change set execution status isAVAILABLE, you can execute the change set.voidsetStackId(String stackId)The ID of the stack with which the change set is associated.voidsetStackName(String stackName)The name of the stack with which the change set is associated.voidsetStatus(ChangeSetStatus status)The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.voidsetStatus(String status)The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.voidsetStatusReason(String statusReason)A description of the change set's status.StringtoString()Returns a string representation of this object; useful for testing and debugging.ChangeSetSummarywithChangeSetId(String changeSetId)The ID of the change set.ChangeSetSummarywithChangeSetName(String changeSetName)The name of the change set.ChangeSetSummarywithCreationTime(Date creationTime)The start time when the change set was created, in UTC.ChangeSetSummarywithDescription(String description)Descriptive information about the change set.ChangeSetSummarywithExecutionStatus(ExecutionStatus executionStatus)If the change set execution status isAVAILABLE, you can execute the change set.ChangeSetSummarywithExecutionStatus(String executionStatus)If the change set execution status isAVAILABLE, you can execute the change set.ChangeSetSummarywithStackId(String stackId)The ID of the stack with which the change set is associated.ChangeSetSummarywithStackName(String stackName)The name of the stack with which the change set is associated.ChangeSetSummarywithStatus(ChangeSetStatus status)The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.ChangeSetSummarywithStatus(String status)The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.ChangeSetSummarywithStatusReason(String statusReason)A description of the change set's status.
-
-
-
Method Detail
-
setStackId
public void setStackId(String stackId)
The ID of the stack with which the change set is associated.
- Parameters:
stackId- The ID of the stack with which the change set is associated.
-
getStackId
public String getStackId()
The ID of the stack with which the change set is associated.
- Returns:
- The ID of the stack with which the change set is associated.
-
withStackId
public ChangeSetSummary withStackId(String stackId)
The ID of the stack with which the change set is associated.
- Parameters:
stackId- The ID of the stack with which the change set is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackName
public void setStackName(String stackName)
The name of the stack with which the change set is associated.
- Parameters:
stackName- The name of the stack with which the change set is associated.
-
getStackName
public String getStackName()
The name of the stack with which the change set is associated.
- Returns:
- The name of the stack with which the change set is associated.
-
withStackName
public ChangeSetSummary withStackName(String stackName)
The name of the stack with which the change set is associated.
- Parameters:
stackName- The name of the stack with which the change set is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChangeSetId
public void setChangeSetId(String changeSetId)
The ID of the change set.
- Parameters:
changeSetId- The ID of the change set.
-
getChangeSetId
public String getChangeSetId()
The ID of the change set.
- Returns:
- The ID of the change set.
-
withChangeSetId
public ChangeSetSummary withChangeSetId(String changeSetId)
The ID of the change set.
- Parameters:
changeSetId- The ID of the change set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChangeSetName
public void setChangeSetName(String changeSetName)
The name of the change set.
- Parameters:
changeSetName- The name of the change set.
-
getChangeSetName
public String getChangeSetName()
The name of the change set.
- Returns:
- The name of the change set.
-
withChangeSetName
public ChangeSetSummary withChangeSetName(String changeSetName)
The name of the change set.
- Parameters:
changeSetName- The name of the change set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExecutionStatus
public void setExecutionStatus(String executionStatus)
If the change set execution status is
AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.- Parameters:
executionStatus- If the change set execution status isAVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.- See Also:
ExecutionStatus
-
getExecutionStatus
public String getExecutionStatus()
If the change set execution status is
AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.- Returns:
- If the change set execution status is
AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated. - See Also:
ExecutionStatus
-
withExecutionStatus
public ChangeSetSummary withExecutionStatus(String executionStatus)
If the change set execution status is
AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.- Parameters:
executionStatus- If the change set execution status isAVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionStatus
-
setExecutionStatus
public void setExecutionStatus(ExecutionStatus executionStatus)
If the change set execution status is
AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.- Parameters:
executionStatus- If the change set execution status isAVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.- See Also:
ExecutionStatus
-
withExecutionStatus
public ChangeSetSummary withExecutionStatus(ExecutionStatus executionStatus)
If the change set execution status is
AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.- Parameters:
executionStatus- If the change set execution status isAVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in anUNAVAILABLEstate because AWS CloudFormation is still creating it or in anOBSOLETEstate because the stack was already updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionStatus
-
setStatus
public void setStatus(String status)
The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.- Parameters:
status- The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.- See Also:
ChangeSetStatus
-
getStatus
public String getStatus()
The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.- Returns:
- The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED. - See Also:
ChangeSetStatus
-
withStatus
public ChangeSetSummary withStatus(String status)
The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.- Parameters:
status- The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeSetStatus
-
setStatus
public void setStatus(ChangeSetStatus status)
The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.- Parameters:
status- The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.- See Also:
ChangeSetStatus
-
withStatus
public ChangeSetSummary withStatus(ChangeSetStatus status)
The state of the change set, such as
CREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.- Parameters:
status- The state of the change set, such asCREATE_IN_PROGRESS,CREATE_COMPLETE, orFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeSetStatus
-
setStatusReason
public void setStatusReason(String statusReason)
A description of the change set's status. For example, if your change set is in the
FAILEDstate, AWS CloudFormation shows the error message.- Parameters:
statusReason- A description of the change set's status. For example, if your change set is in theFAILEDstate, AWS CloudFormation shows the error message.
-
getStatusReason
public String getStatusReason()
A description of the change set's status. For example, if your change set is in the
FAILEDstate, AWS CloudFormation shows the error message.- Returns:
- A description of the change set's status. For example, if your
change set is in the
FAILEDstate, AWS CloudFormation shows the error message.
-
withStatusReason
public ChangeSetSummary withStatusReason(String statusReason)
A description of the change set's status. For example, if your change set is in the
FAILEDstate, AWS CloudFormation shows the error message.- Parameters:
statusReason- A description of the change set's status. For example, if your change set is in theFAILEDstate, AWS CloudFormation shows the error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationTime
public void setCreationTime(Date creationTime)
The start time when the change set was created, in UTC.
- Parameters:
creationTime- The start time when the change set was created, in UTC.
-
getCreationTime
public Date getCreationTime()
The start time when the change set was created, in UTC.
- Returns:
- The start time when the change set was created, in UTC.
-
withCreationTime
public ChangeSetSummary withCreationTime(Date creationTime)
The start time when the change set was created, in UTC.
- Parameters:
creationTime- The start time when the change set was created, in UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
Descriptive information about the change set.
- Parameters:
description- Descriptive information about the change set.
-
getDescription
public String getDescription()
Descriptive information about the change set.
- Returns:
- Descriptive information about the change set.
-
withDescription
public ChangeSetSummary withDescription(String description)
Descriptive information about the change set.
- Parameters:
description- Descriptive information about the change set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ChangeSetSummary clone()
-
-