@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceChange extends Object implements Serializable, Cloneable
The ResourceChange
structure describes the resource and the action that CloudFormation will perform on
it if you execute this change set.
Constructor and Description |
---|
ResourceChange() |
Modifier and Type | Method and Description |
---|---|
ResourceChange |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action that CloudFormation takes on the resource, such as
Add (adds a new resource),
Modify (changes a resource), Remove (deletes a resource), Import (imports
a resource), or Dynamic (exact action for the resource can't be determined). |
String |
getAfterContext()
An encoded JSON string containing the context of the resource after the change is executed.
|
String |
getBeforeContext()
An encoded JSON string containing the context of the resource before the change is executed.
|
String |
getChangeSetId()
The change set ID of the nested change set.
|
List<ResourceChangeDetail> |
getDetails()
For the
Modify action, a list of ResourceChangeDetail structures that describes the
changes that CloudFormation will make to the resource. |
String |
getLogicalResourceId()
The resource's logical ID, which is defined in the stack's template.
|
ModuleInfo |
getModuleInfo()
Contains information about the module from which the resource was created, if the resource was created from a
module included in the stack template.
|
String |
getPhysicalResourceId()
The resource's physical ID (resource name).
|
String |
getPolicyAction()
The action that will be taken on the physical resource when the change set is executed.
|
String |
getReplacement()
For the
Modify action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. |
String |
getResourceType()
The type of CloudFormation resource, such as
AWS::S3::Bucket . |
List<String> |
getScope()
For the
Modify action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata , Properties , or Tags . |
int |
hashCode() |
void |
setAction(ChangeAction action)
The action that CloudFormation takes on the resource, such as
Add (adds a new resource),
Modify (changes a resource), Remove (deletes a resource), Import (imports
a resource), or Dynamic (exact action for the resource can't be determined). |
void |
setAction(String action)
The action that CloudFormation takes on the resource, such as
Add (adds a new resource),
Modify (changes a resource), Remove (deletes a resource), Import (imports
a resource), or Dynamic (exact action for the resource can't be determined). |
void |
setAfterContext(String afterContext)
An encoded JSON string containing the context of the resource after the change is executed.
|
void |
setBeforeContext(String beforeContext)
An encoded JSON string containing the context of the resource before the change is executed.
|
void |
setChangeSetId(String changeSetId)
The change set ID of the nested change set.
|
void |
setDetails(Collection<ResourceChangeDetail> details)
For the
Modify action, a list of ResourceChangeDetail structures that describes the
changes that CloudFormation will make to the resource. |
void |
setLogicalResourceId(String logicalResourceId)
The resource's logical ID, which is defined in the stack's template.
|
void |
setModuleInfo(ModuleInfo moduleInfo)
Contains information about the module from which the resource was created, if the resource was created from a
module included in the stack template.
|
void |
setPhysicalResourceId(String physicalResourceId)
The resource's physical ID (resource name).
|
void |
setPolicyAction(PolicyAction policyAction)
The action that will be taken on the physical resource when the change set is executed.
|
void |
setPolicyAction(String policyAction)
The action that will be taken on the physical resource when the change set is executed.
|
void |
setReplacement(Replacement replacement)
For the
Modify action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. |
void |
setReplacement(String replacement)
For the
Modify action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. |
void |
setResourceType(String resourceType)
The type of CloudFormation resource, such as
AWS::S3::Bucket . |
void |
setScope(Collection<String> scope)
For the
Modify action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata , Properties , or Tags . |
String |
toString()
Returns a string representation of this object.
|
ResourceChange |
withAction(ChangeAction action)
The action that CloudFormation takes on the resource, such as
Add (adds a new resource),
Modify (changes a resource), Remove (deletes a resource), Import (imports
a resource), or Dynamic (exact action for the resource can't be determined). |
ResourceChange |
withAction(String action)
The action that CloudFormation takes on the resource, such as
Add (adds a new resource),
Modify (changes a resource), Remove (deletes a resource), Import (imports
a resource), or Dynamic (exact action for the resource can't be determined). |
ResourceChange |
withAfterContext(String afterContext)
An encoded JSON string containing the context of the resource after the change is executed.
|
ResourceChange |
withBeforeContext(String beforeContext)
An encoded JSON string containing the context of the resource before the change is executed.
|
ResourceChange |
withChangeSetId(String changeSetId)
The change set ID of the nested change set.
|
ResourceChange |
withDetails(Collection<ResourceChangeDetail> details)
For the
Modify action, a list of ResourceChangeDetail structures that describes the
changes that CloudFormation will make to the resource. |
ResourceChange |
withDetails(ResourceChangeDetail... details)
For the
Modify action, a list of ResourceChangeDetail structures that describes the
changes that CloudFormation will make to the resource. |
ResourceChange |
withLogicalResourceId(String logicalResourceId)
The resource's logical ID, which is defined in the stack's template.
|
ResourceChange |
withModuleInfo(ModuleInfo moduleInfo)
Contains information about the module from which the resource was created, if the resource was created from a
module included in the stack template.
|
ResourceChange |
withPhysicalResourceId(String physicalResourceId)
The resource's physical ID (resource name).
|
ResourceChange |
withPolicyAction(PolicyAction policyAction)
The action that will be taken on the physical resource when the change set is executed.
|
ResourceChange |
withPolicyAction(String policyAction)
The action that will be taken on the physical resource when the change set is executed.
|
ResourceChange |
withReplacement(Replacement replacement)
For the
Modify action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. |
ResourceChange |
withReplacement(String replacement)
For the
Modify action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. |
ResourceChange |
withResourceType(String resourceType)
The type of CloudFormation resource, such as
AWS::S3::Bucket . |
ResourceChange |
withScope(Collection<String> scope)
For the
Modify action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata , Properties , or Tags . |
ResourceChange |
withScope(ResourceAttribute... scope)
For the
Modify action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata , Properties , or Tags . |
ResourceChange |
withScope(String... scope)
For the
Modify action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata , Properties , or Tags . |
public void setPolicyAction(String policyAction)
The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
policyAction
- The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
PolicyAction
public String getPolicyAction()
The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
PolicyAction
public ResourceChange withPolicyAction(String policyAction)
The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
policyAction
- The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
PolicyAction
public void setPolicyAction(PolicyAction policyAction)
The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
policyAction
- The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
PolicyAction
public ResourceChange withPolicyAction(PolicyAction policyAction)
The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
policyAction
- The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
PolicyAction
public void setAction(String action)
The action that CloudFormation takes on the resource, such as Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports
a resource), or Dynamic
(exact action for the resource can't be determined).
action
- The action that CloudFormation takes on the resource, such as Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports a resource), or Dynamic
(exact action for the resource can't be determined).ChangeAction
public String getAction()
The action that CloudFormation takes on the resource, such as Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports
a resource), or Dynamic
(exact action for the resource can't be determined).
Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports a resource), or Dynamic
(exact action for the resource can't be determined).ChangeAction
public ResourceChange withAction(String action)
The action that CloudFormation takes on the resource, such as Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports
a resource), or Dynamic
(exact action for the resource can't be determined).
action
- The action that CloudFormation takes on the resource, such as Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports a resource), or Dynamic
(exact action for the resource can't be determined).ChangeAction
public void setAction(ChangeAction action)
The action that CloudFormation takes on the resource, such as Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports
a resource), or Dynamic
(exact action for the resource can't be determined).
action
- The action that CloudFormation takes on the resource, such as Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports a resource), or Dynamic
(exact action for the resource can't be determined).ChangeAction
public ResourceChange withAction(ChangeAction action)
The action that CloudFormation takes on the resource, such as Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports
a resource), or Dynamic
(exact action for the resource can't be determined).
action
- The action that CloudFormation takes on the resource, such as Add
(adds a new resource),
Modify
(changes a resource), Remove
(deletes a resource), Import
(imports a resource), or Dynamic
(exact action for the resource can't be determined).ChangeAction
public void setLogicalResourceId(String logicalResourceId)
The resource's logical ID, which is defined in the stack's template.
logicalResourceId
- The resource's logical ID, which is defined in the stack's template.public String getLogicalResourceId()
The resource's logical ID, which is defined in the stack's template.
public ResourceChange withLogicalResourceId(String logicalResourceId)
The resource's logical ID, which is defined in the stack's template.
logicalResourceId
- The resource's logical ID, which is defined in the stack's template.public void setPhysicalResourceId(String physicalResourceId)
The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created.
physicalResourceId
- The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because
they haven't been created.public String getPhysicalResourceId()
The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created.
public ResourceChange withPhysicalResourceId(String physicalResourceId)
The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created.
physicalResourceId
- The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because
they haven't been created.public void setResourceType(String resourceType)
The type of CloudFormation resource, such as AWS::S3::Bucket
.
resourceType
- The type of CloudFormation resource, such as AWS::S3::Bucket
.public String getResourceType()
The type of CloudFormation resource, such as AWS::S3::Bucket
.
AWS::S3::Bucket
.public ResourceChange withResourceType(String resourceType)
The type of CloudFormation resource, such as AWS::S3::Bucket
.
resourceType
- The type of CloudFormation resource, such as AWS::S3::Bucket
.public void setReplacement(String replacement)
For the Modify
action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. This value depends on the value of the RequiresRecreation
property in
the ResourceTargetDefinition
structure. For example, if the RequiresRecreation
field is
Always
and the Evaluation
field is Static
, Replacement
is
True
. If the RequiresRecreation
field is Always
and the
Evaluation
field is Dynamic
, Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the Replacement
value depends on the change with the most impact. A RequiresRecreation
value of Always
has the most impact, followed by Conditionally
, and then Never
.
replacement
- For the Modify
action, indicates whether CloudFormation will replace the resource by creating
a new one and deleting the old one. This value depends on the value of the RequiresRecreation
property in the ResourceTargetDefinition
structure. For example, if the
RequiresRecreation
field is Always
and the Evaluation
field is
Static
, Replacement
is True
. If the RequiresRecreation
field is Always
and the Evaluation
field is Dynamic
,
Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the
Replacement
value depends on the change with the most impact. A
RequiresRecreation
value of Always
has the most impact, followed by
Conditionally
, and then Never
.
Replacement
public String getReplacement()
For the Modify
action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. This value depends on the value of the RequiresRecreation
property in
the ResourceTargetDefinition
structure. For example, if the RequiresRecreation
field is
Always
and the Evaluation
field is Static
, Replacement
is
True
. If the RequiresRecreation
field is Always
and the
Evaluation
field is Dynamic
, Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the Replacement
value depends on the change with the most impact. A RequiresRecreation
value of Always
has the most impact, followed by Conditionally
, and then Never
.
Modify
action, indicates whether CloudFormation will replace the resource by
creating a new one and deleting the old one. This value depends on the value of the
RequiresRecreation
property in the ResourceTargetDefinition
structure. For
example, if the RequiresRecreation
field is Always
and the
Evaluation
field is Static
, Replacement
is True
. If
the RequiresRecreation
field is Always
and the Evaluation
field is
Dynamic
, Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the
Replacement
value depends on the change with the most impact. A
RequiresRecreation
value of Always
has the most impact, followed by
Conditionally
, and then Never
.
Replacement
public ResourceChange withReplacement(String replacement)
For the Modify
action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. This value depends on the value of the RequiresRecreation
property in
the ResourceTargetDefinition
structure. For example, if the RequiresRecreation
field is
Always
and the Evaluation
field is Static
, Replacement
is
True
. If the RequiresRecreation
field is Always
and the
Evaluation
field is Dynamic
, Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the Replacement
value depends on the change with the most impact. A RequiresRecreation
value of Always
has the most impact, followed by Conditionally
, and then Never
.
replacement
- For the Modify
action, indicates whether CloudFormation will replace the resource by creating
a new one and deleting the old one. This value depends on the value of the RequiresRecreation
property in the ResourceTargetDefinition
structure. For example, if the
RequiresRecreation
field is Always
and the Evaluation
field is
Static
, Replacement
is True
. If the RequiresRecreation
field is Always
and the Evaluation
field is Dynamic
,
Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the
Replacement
value depends on the change with the most impact. A
RequiresRecreation
value of Always
has the most impact, followed by
Conditionally
, and then Never
.
Replacement
public void setReplacement(Replacement replacement)
For the Modify
action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. This value depends on the value of the RequiresRecreation
property in
the ResourceTargetDefinition
structure. For example, if the RequiresRecreation
field is
Always
and the Evaluation
field is Static
, Replacement
is
True
. If the RequiresRecreation
field is Always
and the
Evaluation
field is Dynamic
, Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the Replacement
value depends on the change with the most impact. A RequiresRecreation
value of Always
has the most impact, followed by Conditionally
, and then Never
.
replacement
- For the Modify
action, indicates whether CloudFormation will replace the resource by creating
a new one and deleting the old one. This value depends on the value of the RequiresRecreation
property in the ResourceTargetDefinition
structure. For example, if the
RequiresRecreation
field is Always
and the Evaluation
field is
Static
, Replacement
is True
. If the RequiresRecreation
field is Always
and the Evaluation
field is Dynamic
,
Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the
Replacement
value depends on the change with the most impact. A
RequiresRecreation
value of Always
has the most impact, followed by
Conditionally
, and then Never
.
Replacement
public ResourceChange withReplacement(Replacement replacement)
For the Modify
action, indicates whether CloudFormation will replace the resource by creating a new
one and deleting the old one. This value depends on the value of the RequiresRecreation
property in
the ResourceTargetDefinition
structure. For example, if the RequiresRecreation
field is
Always
and the Evaluation
field is Static
, Replacement
is
True
. If the RequiresRecreation
field is Always
and the
Evaluation
field is Dynamic
, Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the Replacement
value depends on the change with the most impact. A RequiresRecreation
value of Always
has the most impact, followed by Conditionally
, and then Never
.
replacement
- For the Modify
action, indicates whether CloudFormation will replace the resource by creating
a new one and deleting the old one. This value depends on the value of the RequiresRecreation
property in the ResourceTargetDefinition
structure. For example, if the
RequiresRecreation
field is Always
and the Evaluation
field is
Static
, Replacement
is True
. If the RequiresRecreation
field is Always
and the Evaluation
field is Dynamic
,
Replacement
is Conditionally
.
If you have multiple changes with different RequiresRecreation
values, the
Replacement
value depends on the change with the most impact. A
RequiresRecreation
value of Always
has the most impact, followed by
Conditionally
, and then Never
.
Replacement
public List<String> getScope()
For the Modify
action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata
, Properties
, or Tags
.
Modify
action, indicates which resource attribute is triggering this update, such as
a change in the resource attribute's Metadata
, Properties
, or Tags
.ResourceAttribute
public void setScope(Collection<String> scope)
For the Modify
action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata
, Properties
, or Tags
.
scope
- For the Modify
action, indicates which resource attribute is triggering this update, such as
a change in the resource attribute's Metadata
, Properties
, or Tags
.ResourceAttribute
public ResourceChange withScope(String... scope)
For the Modify
action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata
, Properties
, or Tags
.
NOTE: This method appends the values to the existing list (if any). Use
setScope(java.util.Collection)
or withScope(java.util.Collection)
if you want to override the
existing values.
scope
- For the Modify
action, indicates which resource attribute is triggering this update, such as
a change in the resource attribute's Metadata
, Properties
, or Tags
.ResourceAttribute
public ResourceChange withScope(Collection<String> scope)
For the Modify
action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata
, Properties
, or Tags
.
scope
- For the Modify
action, indicates which resource attribute is triggering this update, such as
a change in the resource attribute's Metadata
, Properties
, or Tags
.ResourceAttribute
public ResourceChange withScope(ResourceAttribute... scope)
For the Modify
action, indicates which resource attribute is triggering this update, such as a
change in the resource attribute's Metadata
, Properties
, or Tags
.
scope
- For the Modify
action, indicates which resource attribute is triggering this update, such as
a change in the resource attribute's Metadata
, Properties
, or Tags
.ResourceAttribute
public List<ResourceChangeDetail> getDetails()
For the Modify
action, a list of ResourceChangeDetail
structures that describes the
changes that CloudFormation will make to the resource.
Modify
action, a list of ResourceChangeDetail
structures that describes
the changes that CloudFormation will make to the resource.public void setDetails(Collection<ResourceChangeDetail> details)
For the Modify
action, a list of ResourceChangeDetail
structures that describes the
changes that CloudFormation will make to the resource.
details
- For the Modify
action, a list of ResourceChangeDetail
structures that describes
the changes that CloudFormation will make to the resource.public ResourceChange withDetails(ResourceChangeDetail... details)
For the Modify
action, a list of ResourceChangeDetail
structures that describes the
changes that CloudFormation will make to the resource.
NOTE: This method appends the values to the existing list (if any). Use
setDetails(java.util.Collection)
or withDetails(java.util.Collection)
if you want to override
the existing values.
details
- For the Modify
action, a list of ResourceChangeDetail
structures that describes
the changes that CloudFormation will make to the resource.public ResourceChange withDetails(Collection<ResourceChangeDetail> details)
For the Modify
action, a list of ResourceChangeDetail
structures that describes the
changes that CloudFormation will make to the resource.
details
- For the Modify
action, a list of ResourceChangeDetail
structures that describes
the changes that CloudFormation will make to the resource.public void setChangeSetId(String changeSetId)
The change set ID of the nested change set.
changeSetId
- The change set ID of the nested change set.public String getChangeSetId()
The change set ID of the nested change set.
public ResourceChange withChangeSetId(String changeSetId)
The change set ID of the nested change set.
changeSetId
- The change set ID of the nested change set.public void setModuleInfo(ModuleInfo moduleInfo)
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
moduleInfo
- Contains information about the module from which the resource was created, if the resource was created
from a module included in the stack template.public ModuleInfo getModuleInfo()
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
public ResourceChange withModuleInfo(ModuleInfo moduleInfo)
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
moduleInfo
- Contains information about the module from which the resource was created, if the resource was created
from a module included in the stack template.public void setBeforeContext(String beforeContext)
An encoded JSON string containing the context of the resource before the change is executed.
beforeContext
- An encoded JSON string containing the context of the resource before the change is executed.public String getBeforeContext()
An encoded JSON string containing the context of the resource before the change is executed.
public ResourceChange withBeforeContext(String beforeContext)
An encoded JSON string containing the context of the resource before the change is executed.
beforeContext
- An encoded JSON string containing the context of the resource before the change is executed.public void setAfterContext(String afterContext)
An encoded JSON string containing the context of the resource after the change is executed.
afterContext
- An encoded JSON string containing the context of the resource after the change is executed.public String getAfterContext()
An encoded JSON string containing the context of the resource after the change is executed.
public ResourceChange withAfterContext(String afterContext)
An encoded JSON string containing the context of the resource after the change is executed.
afterContext
- An encoded JSON string containing the context of the resource after the change is executed.public String toString()
toString
in class Object
Object.toString()
public ResourceChange clone()