@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FacetAttributeUpdate extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information used to update an attribute.
| Constructor and Description |
|---|
FacetAttributeUpdate() |
| Modifier and Type | Method and Description |
|---|---|
FacetAttributeUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action to perform when updating the attribute.
|
FacetAttribute |
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(FacetAttribute attribute)
The attribute to update.
|
String |
toString()
Returns a string representation of this object.
|
FacetAttributeUpdate |
withAction(String action)
The action to perform when updating the attribute.
|
FacetAttributeUpdate |
withAction(UpdateActionType action)
The action to perform when updating the attribute.
|
FacetAttributeUpdate |
withAttribute(FacetAttribute attribute)
The attribute to update.
|
public void setAttribute(FacetAttribute attribute)
The attribute to update.
attribute - The attribute to update.public FacetAttribute getAttribute()
The attribute to update.
public FacetAttributeUpdate withAttribute(FacetAttribute 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 FacetAttributeUpdate 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 FacetAttributeUpdate 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 FacetAttributeUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.