@Generated(value="software.amazon.awssdk:codegen") public final class ResourceTargetDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>
Information about a change to a resource attribute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceTargetDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
ResourceAttribute |
attribute()
The attribute to be changed.
|
String |
attributeAsString()
The attribute to be changed.
|
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 is
Properties, the value is the name of the property. |
RequiresRecreation |
requiresRecreation()
If the attribute is
Properties, indicates whether a change to this property causes the resource to
be re-created. |
String |
requiresRecreationAsString()
If the attribute is
Properties, indicates whether a change to this property causes the resource to
be re-created. |
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()
The attribute to be changed.
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().
ResourceAttributepublic final String attributeAsString()
The attribute to be changed.
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().
ResourceAttributepublic final String name()
If the attribute is Properties, the value is the name of the property. Otherwise, the value is null.
Properties, the value is the name of the property. Otherwise, the value
is null.public final RequiresRecreation requiresRecreation()
If the attribute is Properties, indicates whether a change to this property causes the resource to
be re-created.
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().
Properties, indicates whether a change to this property causes the
resource to be re-created.RequiresRecreationpublic final String requiresRecreationAsString()
If the attribute is Properties, indicates whether a change to this property causes the resource to
be re-created.
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().
Properties, indicates whether a change to this property causes the
resource to be re-created.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.