@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTargetDefinition extends Object implements Serializable, Cloneable
The field that CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated.
Constructor and Description |
---|
ResourceTargetDefinition() |
Modifier and Type | Method and Description |
---|---|
ResourceTargetDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getAfterValue()
The value of the property after the change is executed.
|
String |
getAttribute()
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata , Properties , or Tags . |
String |
getAttributeChangeType()
The type of change to be made to the property if the change is executed.
|
String |
getBeforeValue()
The value of the property before the change is executed.
|
String |
getName()
If the
Attribute value is Properties , the name of the property. |
String |
getPath()
The property path of the property.
|
String |
getRequiresRecreation()
If the
Attribute value is Properties , indicates whether a change to this property
causes the resource to be recreated. |
int |
hashCode() |
void |
setAfterValue(String afterValue)
The value of the property after the change is executed.
|
void |
setAttribute(ResourceAttribute attribute)
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata , Properties , or Tags . |
void |
setAttribute(String attribute)
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata , Properties , or Tags . |
void |
setAttributeChangeType(AttributeChangeType attributeChangeType)
The type of change to be made to the property if the change is executed.
|
void |
setAttributeChangeType(String attributeChangeType)
The type of change to be made to the property if the change is executed.
|
void |
setBeforeValue(String beforeValue)
The value of the property before the change is executed.
|
void |
setName(String name)
If the
Attribute value is Properties , the name of the property. |
void |
setPath(String path)
The property path of the property.
|
void |
setRequiresRecreation(RequiresRecreation requiresRecreation)
If the
Attribute value is Properties , indicates whether a change to this property
causes the resource to be recreated. |
void |
setRequiresRecreation(String requiresRecreation)
If the
Attribute value is Properties , indicates whether a change to this property
causes the resource to be recreated. |
String |
toString()
Returns a string representation of this object.
|
ResourceTargetDefinition |
withAfterValue(String afterValue)
The value of the property after the change is executed.
|
ResourceTargetDefinition |
withAttribute(ResourceAttribute attribute)
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata , Properties , or Tags . |
ResourceTargetDefinition |
withAttribute(String attribute)
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata , Properties , or Tags . |
ResourceTargetDefinition |
withAttributeChangeType(AttributeChangeType attributeChangeType)
The type of change to be made to the property if the change is executed.
|
ResourceTargetDefinition |
withAttributeChangeType(String attributeChangeType)
The type of change to be made to the property if the change is executed.
|
ResourceTargetDefinition |
withBeforeValue(String beforeValue)
The value of the property before the change is executed.
|
ResourceTargetDefinition |
withName(String name)
If the
Attribute value is Properties , the name of the property. |
ResourceTargetDefinition |
withPath(String path)
The property path of the property.
|
ResourceTargetDefinition |
withRequiresRecreation(RequiresRecreation requiresRecreation)
If the
Attribute value is Properties , indicates whether a change to this property
causes the resource to be recreated. |
ResourceTargetDefinition |
withRequiresRecreation(String requiresRecreation)
If the
Attribute value is Properties , indicates whether a change to this property
causes the resource to be recreated. |
public void setAttribute(String attribute)
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.
attribute
- Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.ResourceAttribute
public String getAttribute()
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.
Metadata
, Properties
, or Tags
.ResourceAttribute
public ResourceTargetDefinition withAttribute(String attribute)
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.
attribute
- Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.ResourceAttribute
public void setAttribute(ResourceAttribute attribute)
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.
attribute
- Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.ResourceAttribute
public ResourceTargetDefinition withAttribute(ResourceAttribute attribute)
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.
attribute
- Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.ResourceAttribute
public void setName(String name)
If the Attribute
value is Properties
, the name of the property. For all other
attributes, the value is null.
name
- If the Attribute
value is Properties
, the name of the property. For all other
attributes, the value is null.public String getName()
If the Attribute
value is Properties
, the name of the property. For all other
attributes, the value is null.
Attribute
value is Properties
, the name of the property. For all other
attributes, the value is null.public ResourceTargetDefinition withName(String name)
If the Attribute
value is Properties
, the name of the property. For all other
attributes, the value is null.
name
- If the Attribute
value is Properties
, the name of the property. For all other
attributes, the value is null.public void setRequiresRecreation(String requiresRecreation)
If the Attribute
value is Properties
, indicates whether a change to this property
causes the resource to be recreated. The value can be Never
, Always
, or
Conditionally
. To determine the conditions for a Conditionally
recreation, see the
update behavior for that property in the CloudFormation User Guide.
requiresRecreation
- If the Attribute
value is Properties
, indicates whether a change to this
property causes the resource to be recreated. The value can be Never
, Always
, or
Conditionally
. To determine the conditions for a Conditionally
recreation, see
the update behavior for that property in the CloudFormation User Guide.RequiresRecreation
public String getRequiresRecreation()
If the Attribute
value is Properties
, indicates whether a change to this property
causes the resource to be recreated. The value can be Never
, Always
, or
Conditionally
. To determine the conditions for a Conditionally
recreation, see the
update behavior for that property in the CloudFormation User Guide.
Attribute
value is Properties
, indicates whether a change to this
property causes the resource to be recreated. The value can be Never
, Always
,
or Conditionally
. To determine the conditions for a Conditionally
recreation,
see the update behavior for that property in the CloudFormation User Guide.RequiresRecreation
public ResourceTargetDefinition withRequiresRecreation(String requiresRecreation)
If the Attribute
value is Properties
, indicates whether a change to this property
causes the resource to be recreated. The value can be Never
, Always
, or
Conditionally
. To determine the conditions for a Conditionally
recreation, see the
update behavior for that property in the CloudFormation User Guide.
requiresRecreation
- If the Attribute
value is Properties
, indicates whether a change to this
property causes the resource to be recreated. The value can be Never
, Always
, or
Conditionally
. To determine the conditions for a Conditionally
recreation, see
the update behavior for that property in the CloudFormation User Guide.RequiresRecreation
public void setRequiresRecreation(RequiresRecreation requiresRecreation)
If the Attribute
value is Properties
, indicates whether a change to this property
causes the resource to be recreated. The value can be Never
, Always
, or
Conditionally
. To determine the conditions for a Conditionally
recreation, see the
update behavior for that property in the CloudFormation User Guide.
requiresRecreation
- If the Attribute
value is Properties
, indicates whether a change to this
property causes the resource to be recreated. The value can be Never
, Always
, or
Conditionally
. To determine the conditions for a Conditionally
recreation, see
the update behavior for that property in the CloudFormation User Guide.RequiresRecreation
public ResourceTargetDefinition withRequiresRecreation(RequiresRecreation requiresRecreation)
If the Attribute
value is Properties
, indicates whether a change to this property
causes the resource to be recreated. The value can be Never
, Always
, or
Conditionally
. To determine the conditions for a Conditionally
recreation, see the
update behavior for that property in the CloudFormation User Guide.
requiresRecreation
- If the Attribute
value is Properties
, indicates whether a change to this
property causes the resource to be recreated. The value can be Never
, Always
, or
Conditionally
. To determine the conditions for a Conditionally
recreation, see
the update behavior for that property in the CloudFormation User Guide.RequiresRecreation
public void setPath(String path)
The property path of the property.
path
- The property path of the property.public String getPath()
The property path of the property.
public ResourceTargetDefinition withPath(String path)
The property path of the property.
path
- The property path of the property.public void setBeforeValue(String beforeValue)
The value of the property before the change is executed. Large values can be truncated.
beforeValue
- The value of the property before the change is executed. Large values can be truncated.public String getBeforeValue()
The value of the property before the change is executed. Large values can be truncated.
public ResourceTargetDefinition withBeforeValue(String beforeValue)
The value of the property before the change is executed. Large values can be truncated.
beforeValue
- The value of the property before the change is executed. Large values can be truncated.public void setAfterValue(String afterValue)
The value of the property after the change is executed. Large values can be truncated.
afterValue
- The value of the property after the change is executed. Large values can be truncated.public String getAfterValue()
The value of the property after the change is executed. Large values can be truncated.
public ResourceTargetDefinition withAfterValue(String afterValue)
The value of the property after the change is executed. Large values can be truncated.
afterValue
- The value of the property after the change is executed. Large values can be truncated.public void setAttributeChangeType(String attributeChangeType)
The type of change to be made to the property if the change is executed.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
attributeChangeType
- The type of change to be made to the property if the change is executed.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
AttributeChangeType
public String getAttributeChangeType()
The type of change to be made to the property if the change is executed.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
AttributeChangeType
public ResourceTargetDefinition withAttributeChangeType(String attributeChangeType)
The type of change to be made to the property if the change is executed.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
attributeChangeType
- The type of change to be made to the property if the change is executed.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
AttributeChangeType
public void setAttributeChangeType(AttributeChangeType attributeChangeType)
The type of change to be made to the property if the change is executed.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
attributeChangeType
- The type of change to be made to the property if the change is executed.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
AttributeChangeType
public ResourceTargetDefinition withAttributeChangeType(AttributeChangeType attributeChangeType)
The type of change to be made to the property if the change is executed.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
attributeChangeType
- The type of change to be made to the property if the change is executed.
Add
The item will be added.
Remove
The item will be removed.
Modify
The item will be modified.
AttributeChangeType
public String toString()
toString
in class Object
Object.toString()
public ResourceTargetDefinition clone()