java.lang.Object
com.amazonaws.services.cloudformation.model.Change
All Implemented Interfaces:
Serializable, Cloneable

public class Change extends Object implements Serializable, Cloneable

The Change structure describes the changes AWS CloudFormation will perform if you execute the change set.

See Also:
  • Constructor Details

    • Change

      public Change()
  • Method Details

    • setType

      public void setType(String type)

      The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.

      Parameters:
      type - The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.
      See Also:
    • getType

      public String getType()

      The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.

      Returns:
      The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.
      See Also:
    • withType

      public Change withType(String type)

      The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.

      Parameters:
      type - The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setType

      public void setType(ChangeType type)

      The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.

      Parameters:
      type - The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.
      See Also:
    • withType

      public Change withType(ChangeType type)

      The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.

      Parameters:
      type - The type of entity that AWS CloudFormation changes. Currently, the only entity type is Resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setResourceChange

      public void setResourceChange(ResourceChange resourceChange)

      A ResourceChange structure that describes the resource and action that AWS CloudFormation will perform.

      Parameters:
      resourceChange - A ResourceChange structure that describes the resource and action that AWS CloudFormation will perform.
    • getResourceChange

      public ResourceChange getResourceChange()

      A ResourceChange structure that describes the resource and action that AWS CloudFormation will perform.

      Returns:
      A ResourceChange structure that describes the resource and action that AWS CloudFormation will perform.
    • withResourceChange

      public Change withResourceChange(ResourceChange resourceChange)

      A ResourceChange structure that describes the resource and action that AWS CloudFormation will perform.

      Parameters:
      resourceChange - A ResourceChange structure that describes the resource and action that AWS CloudFormation will perform.
      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 Change clone()
      Overrides:
      clone in class Object