@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LinkAttributeAction extends Object implements Serializable, Cloneable, StructuredPojo
The action to take on a typed link attribute value. Updates are only supported for attributes which don’t contribute to link identity.
| Constructor and Description |
|---|
LinkAttributeAction() |
| Modifier and Type | Method and Description |
|---|---|
LinkAttributeAction |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeActionType()
A type that can be either
UPDATE_OR_CREATE or DELETE. |
TypedAttributeValue |
getAttributeUpdateValue()
The value that you want to update to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttributeActionType(String attributeActionType)
A type that can be either
UPDATE_OR_CREATE or DELETE. |
void |
setAttributeUpdateValue(TypedAttributeValue attributeUpdateValue)
The value that you want to update to.
|
String |
toString()
Returns a string representation of this object.
|
LinkAttributeAction |
withAttributeActionType(String attributeActionType)
A type that can be either
UPDATE_OR_CREATE or DELETE. |
LinkAttributeAction |
withAttributeActionType(UpdateActionType attributeActionType)
A type that can be either
UPDATE_OR_CREATE or DELETE. |
LinkAttributeAction |
withAttributeUpdateValue(TypedAttributeValue attributeUpdateValue)
The value that you want to update to.
|
public void setAttributeActionType(String attributeActionType)
A type that can be either UPDATE_OR_CREATE or DELETE.
attributeActionType - A type that can be either UPDATE_OR_CREATE or DELETE.UpdateActionTypepublic String getAttributeActionType()
A type that can be either UPDATE_OR_CREATE or DELETE.
UPDATE_OR_CREATE or DELETE.UpdateActionTypepublic LinkAttributeAction withAttributeActionType(String attributeActionType)
A type that can be either UPDATE_OR_CREATE or DELETE.
attributeActionType - A type that can be either UPDATE_OR_CREATE or DELETE.UpdateActionTypepublic LinkAttributeAction withAttributeActionType(UpdateActionType attributeActionType)
A type that can be either UPDATE_OR_CREATE or DELETE.
attributeActionType - A type that can be either UPDATE_OR_CREATE or DELETE.UpdateActionTypepublic void setAttributeUpdateValue(TypedAttributeValue attributeUpdateValue)
The value that you want to update to.
attributeUpdateValue - The value that you want to update to.public TypedAttributeValue getAttributeUpdateValue()
The value that you want to update to.
public LinkAttributeAction withAttributeUpdateValue(TypedAttributeValue attributeUpdateValue)
The value that you want to update to.
attributeUpdateValue - The value that you want to update to.public String toString()
toString in class ObjectObject.toString()public LinkAttributeAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.