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
ChangeSetSummary
structure 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 ChangeSetSummary
clone()
boolean
equals(Object obj)
String
getChangeSetId()
The ID of the change set.String
getChangeSetName()
The name of the change set.Date
getCreationTime()
The start time when the change set was created, in UTC.String
getDescription()
Descriptive information about the change set.String
getExecutionStatus()
If the change set execution status isAVAILABLE
, you can execute the change set.String
getStackId()
The ID of the stack with which the change set is associated.String
getStackName()
The name of the stack with which the change set is associated.String
getStatus()
The state of the change set, such asCREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
.String
getStatusReason()
A description of the change set's status.int
hashCode()
void
setChangeSetId(String changeSetId)
The ID of the change set.void
setChangeSetName(String changeSetName)
The name of the change set.void
setCreationTime(Date creationTime)
The start time when the change set was created, in UTC.void
setDescription(String description)
Descriptive information about the change set.void
setExecutionStatus(ExecutionStatus executionStatus)
If the change set execution status isAVAILABLE
, you can execute the change set.void
setExecutionStatus(String executionStatus)
If the change set execution status isAVAILABLE
, you can execute the change set.void
setStackId(String stackId)
The ID of the stack with which the change set is associated.void
setStackName(String stackName)
The name of the stack with which the change set is associated.void
setStatus(ChangeSetStatus status)
The state of the change set, such asCREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
.void
setStatus(String status)
The state of the change set, such asCREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
.void
setStatusReason(String statusReason)
A description of the change set's status.String
toString()
Returns a string representation of this object; useful for testing and debugging.ChangeSetSummary
withChangeSetId(String changeSetId)
The ID of the change set.ChangeSetSummary
withChangeSetName(String changeSetName)
The name of the change set.ChangeSetSummary
withCreationTime(Date creationTime)
The start time when the change set was created, in UTC.ChangeSetSummary
withDescription(String description)
Descriptive information about the change set.ChangeSetSummary
withExecutionStatus(ExecutionStatus executionStatus)
If the change set execution status isAVAILABLE
, you can execute the change set.ChangeSetSummary
withExecutionStatus(String executionStatus)
If the change set execution status isAVAILABLE
, you can execute the change set.ChangeSetSummary
withStackId(String stackId)
The ID of the stack with which the change set is associated.ChangeSetSummary
withStackName(String stackName)
The name of the stack with which the change set is associated.ChangeSetSummary
withStatus(ChangeSetStatus status)
The state of the change set, such asCREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
.ChangeSetSummary
withStatus(String status)
The state of the change set, such asCREATE_IN_PROGRESS
,CREATE_COMPLETE
, orFAILED
.ChangeSetSummary
withStatusReason(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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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 anUNAVAILABLE
state because AWS CloudFormation is still creating it or in anOBSOLETE
state 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
FAILED
state, AWS CloudFormation shows the error message.- Parameters:
statusReason
- A description of the change set's status. For example, if your change set is in theFAILED
state, 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
FAILED
state, AWS CloudFormation shows the error message.- Returns:
- A description of the change set's status. For example, if your
change set is in the
FAILED
state, 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
FAILED
state, AWS CloudFormation shows the error message.- Parameters:
statusReason
- A description of the change set's status. For example, if your change set is in theFAILED
state, 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ChangeSetSummary clone()
-
-