@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TypedLinkFacetAttributeUpdate extends Object implements Serializable, Cloneable, StructuredPojo
A typed link facet attribute update.
| Constructor and Description |
|---|
TypedLinkFacetAttributeUpdate() |
| Modifier and Type | Method and Description |
|---|---|
TypedLinkFacetAttributeUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action to perform when updating the attribute.
|
TypedLinkAttributeDefinition |
getAttribute()
The attribute to update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
The action to perform when updating the attribute.
|
void |
setAction(UpdateActionType action)
The action to perform when updating the attribute.
|
void |
setAttribute(TypedLinkAttributeDefinition attribute)
The attribute to update.
|
String |
toString()
Returns a string representation of this object.
|
TypedLinkFacetAttributeUpdate |
withAction(String action)
The action to perform when updating the attribute.
|
TypedLinkFacetAttributeUpdate |
withAction(UpdateActionType action)
The action to perform when updating the attribute.
|
TypedLinkFacetAttributeUpdate |
withAttribute(TypedLinkAttributeDefinition attribute)
The attribute to update.
|
public void setAttribute(TypedLinkAttributeDefinition attribute)
The attribute to update.
attribute - The attribute to update.public TypedLinkAttributeDefinition getAttribute()
The attribute to update.
public TypedLinkFacetAttributeUpdate withAttribute(TypedLinkAttributeDefinition attribute)
The attribute to update.
attribute - The attribute to update.public void setAction(String action)
The action to perform when updating the attribute.
action - The action to perform when updating the attribute.UpdateActionTypepublic String getAction()
The action to perform when updating the attribute.
UpdateActionTypepublic TypedLinkFacetAttributeUpdate withAction(String action)
The action to perform when updating the attribute.
action - The action to perform when updating the attribute.UpdateActionTypepublic void setAction(UpdateActionType action)
The action to perform when updating the attribute.
action - The action to perform when updating the attribute.UpdateActionTypepublic TypedLinkFacetAttributeUpdate withAction(UpdateActionType action)
The action to perform when updating the attribute.
action - The action to perform when updating the attribute.UpdateActionTypepublic String toString()
toString in class ObjectObject.toString()public TypedLinkFacetAttributeUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.