@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; useful for testing and debugging.
|
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.UpdateActionType
public String getAction()
The action to perform when updating the attribute.
UpdateActionType
public FacetAttributeUpdate 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 FacetAttributeUpdate 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 FacetAttributeUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.