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:
  • Constructor Details

    • ChangeSetSummary

      public ChangeSetSummary()
  • Method Details

    • 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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.

      Parameters:
      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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.
      See Also:
    • 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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE 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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.
      See Also:
    • 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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.

      Parameters:
      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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.

      Parameters:
      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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.
      See Also:
    • 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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.

      Parameters:
      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 an UNAVAILABLE state because AWS CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStatus

      public void setStatus(String status)

      The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.

      Parameters:
      status - The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.
      See Also:
    • getStatus

      public String getStatus()

      The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.

      Returns:
      The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.
      See Also:
    • withStatus

      public ChangeSetSummary withStatus(String status)

      The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.

      Parameters:
      status - The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStatus

      public void setStatus(ChangeSetStatus status)

      The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.

      Parameters:
      status - The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.
      See Also:
    • withStatus

      public ChangeSetSummary withStatus(ChangeSetStatus status)

      The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.

      Parameters:
      status - The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the FAILED 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 the FAILED 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ChangeSetSummary clone()
      Overrides:
      clone in class Object