@Generated(value="software.amazon.awssdk:codegen") public final class ResourceTargetDefinition extends Object implements SdkPojo, Serializable, 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 and Description |
---|---|
static interface |
ResourceTargetDefinition.Builder |
Modifier and Type | Method and Description |
---|---|
ResourceAttribute |
attribute()
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata , Properties , or Tags . |
String |
attributeAsString()
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
If the
Attribute value is Properties , the name of the property. |
RequiresRecreation |
requiresRecreation()
If the
Attribute value is Properties , indicates whether a change to this property
causes the resource to be recreated. |
String |
requiresRecreationAsString()
If the
Attribute value is Properties , indicates whether a change to this property
causes the resource to be recreated. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceTargetDefinition.Builder> |
serializableBuilderClass() |
ResourceTargetDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public ResourceAttribute attribute()
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.
If the service returns an enum value that is not available in the current SDK version, attribute
will
return ResourceAttribute.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
attributeAsString()
.
Metadata
, Properties
, or Tags
.ResourceAttribute
public String attributeAsString()
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's
Metadata
, Properties
, or Tags
.
If the service returns an enum value that is not available in the current SDK version, attribute
will
return ResourceAttribute.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
attributeAsString()
.
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 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.
If the service returns an enum value that is not available in the current SDK version,
requiresRecreation
will return RequiresRecreation.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from requiresRecreationAsString()
.
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 requiresRecreationAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
requiresRecreation
will return RequiresRecreation.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from requiresRecreationAsString()
.
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()
toBuilder
in interface ToCopyableBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>
public static ResourceTargetDefinition.Builder builder()
public static Class<? extends ResourceTargetDefinition.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.