ToCopyableBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>
@Generated("software.amazon.awssdk:codegen") public class ResourceTargetDefinition extends Object implements ToCopyableBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>
The field that AWS CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ResourceTargetDefinition.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
attribute() |
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata , Properties , or Tags . |
static ResourceTargetDefinition.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
name() |
If the
Attribute value is Properties , the name of the property. |
String |
requiresRecreation() |
If the
Attribute value is Properties , indicates whether a change to this property
causes the resource to be recreated. |
static Class<? extends ResourceTargetDefinition.Builder> |
serializableBuilderClass() |
|
ResourceTargetDefinition.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String attribute()
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 String name()
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 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.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>
public static ResourceTargetDefinition.Builder builder()
public static Class<? extends ResourceTargetDefinition.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.