@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
.UpdateActionType
public String getAttributeActionType()
A type that can be either UPDATE_OR_CREATE
or DELETE
.
UPDATE_OR_CREATE
or DELETE
.UpdateActionType
public 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
.UpdateActionType
public 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
.UpdateActionType
public 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 Object
Object.toString()
public LinkAttributeAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.