@Generated(value="software.amazon.awssdk:codegen") public final class LinkAttributeAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LinkAttributeAction.Builder,LinkAttributeAction>
The action to take on a typed link attribute value. Updates are only supported for attributes which don’t contribute to link identity.
Modifier and Type | Class and Description |
---|---|
static interface |
LinkAttributeAction.Builder |
Modifier and Type | Method and Description |
---|---|
UpdateActionType |
attributeActionType()
A type that can be either
UPDATE_OR_CREATE or DELETE . |
String |
attributeActionTypeAsString()
A type that can be either
UPDATE_OR_CREATE or DELETE . |
TypedAttributeValue |
attributeUpdateValue()
The value that you want to update to.
|
static LinkAttributeAction.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LinkAttributeAction.Builder> |
serializableBuilderClass() |
LinkAttributeAction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public UpdateActionType attributeActionType()
A type that can be either UPDATE_OR_CREATE
or DELETE
.
If the service returns an enum value that is not available in the current SDK version,
attributeActionType
will return UpdateActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from attributeActionTypeAsString()
.
UPDATE_OR_CREATE
or DELETE
.UpdateActionType
public String attributeActionTypeAsString()
A type that can be either UPDATE_OR_CREATE
or DELETE
.
If the service returns an enum value that is not available in the current SDK version,
attributeActionType
will return UpdateActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from attributeActionTypeAsString()
.
UPDATE_OR_CREATE
or DELETE
.UpdateActionType
public TypedAttributeValue attributeUpdateValue()
The value that you want to update to.
public LinkAttributeAction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LinkAttributeAction.Builder,LinkAttributeAction>
public static LinkAttributeAction.Builder builder()
public static Class<? extends LinkAttributeAction.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.