Class ResourceTargetDefinition
- All Implemented Interfaces:
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.getName()
If theAttribute
value isProperties
, the name of the property.If theAttribute
value isProperties
, 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'sMetadata
,Properties
, orTags
.void
setAttribute
(String attribute) Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.void
If theAttribute
value isProperties
, the name of the property.void
setRequiresRecreation
(RequiresRecreation requiresRecreation) If theAttribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated.void
setRequiresRecreation
(String requiresRecreation) If theAttribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated.toString()
Returns a string representation of this object; useful for testing and debugging.withAttribute
(ResourceAttribute attribute) Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.withAttribute
(String attribute) Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.If theAttribute
value isProperties
, the name of the property.withRequiresRecreation
(RequiresRecreation requiresRecreation) If theAttribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated.withRequiresRecreation
(String requiresRecreation) If theAttribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated.
-
Constructor Details
-
ResourceTargetDefinition
public ResourceTargetDefinition()
-
-
Method Details
-
setAttribute
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
,Properties
, orTags
.- Parameters:
attribute
- Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.- See Also:
-
getAttribute
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
,Properties
, orTags
.- Returns:
- Indicates which resource attribute is triggering this update,
such as a change in the resource attribute's
Metadata
,Properties
, orTags
. - See Also:
-
withAttribute
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
,Properties
, orTags
.- Parameters:
attribute
- Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAttribute
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
,Properties
, orTags
.- Parameters:
attribute
- Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.- See Also:
-
withAttribute
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
,Properties
, orTags
.- Parameters:
attribute
- Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setName
If the
Attribute
value isProperties
, the name of the property. For all other attributes, the value is null.- Parameters:
name
- If theAttribute
value isProperties
, the name of the property. For all other attributes, the value is null.
-
getName
If the
Attribute
value isProperties
, the name of the property. For all other attributes, the value is null.- Returns:
- If the
Attribute
value isProperties
, the name of the property. For all other attributes, the value is null.
-
withName
If the
Attribute
value isProperties
, the name of the property. For all other attributes, the value is null.- Parameters:
name
- If theAttribute
value isProperties
, the name of the property. For all other attributes, the value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRequiresRecreation
If the
Attribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.- Parameters:
requiresRecreation
- If theAttribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.- See Also:
-
getRequiresRecreation
If the
Attribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.- Returns:
- If the
Attribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide. - See Also:
-
withRequiresRecreation
If the
Attribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.- Parameters:
requiresRecreation
- If theAttribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setRequiresRecreation
If the
Attribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.- Parameters:
requiresRecreation
- If theAttribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.- See Also:
-
withRequiresRecreation
If the
Attribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.- Parameters:
requiresRecreation
- If theAttribute
value isProperties
, indicates whether a change to this property causes the resource to be recreated. The value can beNever
,Always
, orConditionally
. To determine the conditions for aConditionally
recreation, see the update behavior for that property in the AWS CloudFormation User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-