@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTargetDefinition extends Object implements Serializable, Cloneable
The field that AWS 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; useful for testing and debugging.
|
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
.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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS CloudFormation User Guide.RequiresRecreation
public String toString()
toString
in class Object
Object.toString()
public ResourceTargetDefinition clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.