Class Change
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.Change
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Change extends Object implements Serializable, Cloneable
The
Changestructure describes the changes AWS CloudFormation will perform if you execute the change set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Change()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Changeclone()booleanequals(Object obj)ResourceChangegetResourceChange()AResourceChangestructure that describes the resource and action that AWS CloudFormation will perform.StringgetType()The type of entity that AWS CloudFormation changes.inthashCode()voidsetResourceChange(ResourceChange resourceChange)AResourceChangestructure that describes the resource and action that AWS CloudFormation will perform.voidsetType(ChangeType type)The type of entity that AWS CloudFormation changes.voidsetType(String type)The type of entity that AWS CloudFormation changes.StringtoString()Returns a string representation of this object; useful for testing and debugging.ChangewithResourceChange(ResourceChange resourceChange)AResourceChangestructure that describes the resource and action that AWS CloudFormation will perform.ChangewithType(ChangeType type)The type of entity that AWS CloudFormation changes.ChangewithType(String type)The type of entity that AWS CloudFormation changes.
-
-
-
Method Detail
-
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 isResource.- See Also:
ChangeType
-
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:
ChangeType
-
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 isResource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeType
-
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 isResource.- See Also:
ChangeType
-
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 isResource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeType
-
setResourceChange
public void setResourceChange(ResourceChange resourceChange)
A
ResourceChangestructure that describes the resource and action that AWS CloudFormation will perform.- Parameters:
resourceChange- AResourceChangestructure that describes the resource and action that AWS CloudFormation will perform.
-
getResourceChange
public ResourceChange getResourceChange()
A
ResourceChangestructure that describes the resource and action that AWS CloudFormation will perform.- Returns:
- A
ResourceChangestructure that describes the resource and action that AWS CloudFormation will perform.
-
withResourceChange
public Change withResourceChange(ResourceChange resourceChange)
A
ResourceChangestructure that describes the resource and action that AWS CloudFormation will perform.- Parameters:
resourceChange- AResourceChangestructure 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-