@Generated(value="software.amazon.awssdk:codegen") public final class ResourceTargetDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>
The field that 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) |
boolean |
equalsBySdkFields(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, waitcopypublic final 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.ResourceAttributepublic final 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.ResourceAttributepublic final 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 final 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.
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 CloudFormation User Guide.RequiresRecreationpublic final 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 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 CloudFormation User Guide.RequiresRecreationpublic ResourceTargetDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>public static ResourceTargetDefinition.Builder builder()
public static Class<? extends ResourceTargetDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.