@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 |
getAttribute()
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata, Properties, or Tags. |
String |
getName()
If the
Attribute value is Properties, the name 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 |
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 |
setName(String name)
If the
Attribute value is Properties, the name 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 |
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 |
withName(String name)
If the
Attribute value is Properties, the name 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.ResourceAttributepublic 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.ResourceAttributepublic 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.ResourceAttributepublic 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.ResourceAttributepublic 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.ResourceAttributepublic 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.RequiresRecreationpublic 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.RequiresRecreationpublic 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.RequiresRecreationpublic 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.RequiresRecreationpublic 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.RequiresRecreationpublic String toString()
toString in class ObjectObject.toString()public ResourceTargetDefinition clone()