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
Change
structure 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 Change
clone()
boolean
equals(Object obj)
ResourceChange
getResourceChange()
AResourceChange
structure that describes the resource and action that AWS CloudFormation will perform.String
getType()
The type of entity that AWS CloudFormation changes.int
hashCode()
void
setResourceChange(ResourceChange resourceChange)
AResourceChange
structure that describes the resource and action that AWS CloudFormation will perform.void
setType(ChangeType type)
The type of entity that AWS CloudFormation changes.void
setType(String type)
The type of entity that AWS CloudFormation changes.String
toString()
Returns a string representation of this object; useful for testing and debugging.Change
withResourceChange(ResourceChange resourceChange)
AResourceChange
structure that describes the resource and action that AWS CloudFormation will perform.Change
withType(ChangeType type)
The type of entity that AWS CloudFormation changes.Change
withType(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
ResourceChange
structure that describes the resource and action that AWS CloudFormation will perform.- Parameters:
resourceChange
- AResourceChange
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
- AResourceChange
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-