@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.UpdateActionType
public String getAction()
The action to perform when updating the attribute.
UpdateActionType
public TypedLinkFacetAttributeUpdate withAction(String action)
The action to perform when updating the attribute.
action
- The action to perform when updating the attribute.UpdateActionType
public void setAction(UpdateActionType action)
The action to perform when updating the attribute.
action
- The action to perform when updating the attribute.UpdateActionType
public TypedLinkFacetAttributeUpdate withAction(UpdateActionType action)
The action to perform when updating the attribute.
action
- The action to perform when updating the attribute.UpdateActionType
public String toString()
toString
in class Object
Object.toString()
public TypedLinkFacetAttributeUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.