@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic 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 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 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 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 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()
ToCopyableBuildertoBuilder 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.