@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ObjectAttributeAction extends Object implements Serializable, Cloneable, StructuredPojo
The action to take on the object attribute.
Constructor and Description |
---|
ObjectAttributeAction() |
Modifier and Type | Method and Description |
---|---|
ObjectAttributeAction |
clone() |
boolean |
equals(Object obj) |
String |
getObjectAttributeActionType()
A type that can be either
Update or Delete . |
TypedAttributeValue |
getObjectAttributeUpdateValue()
The value that you want to update to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setObjectAttributeActionType(String objectAttributeActionType)
A type that can be either
Update or Delete . |
void |
setObjectAttributeActionType(UpdateActionType objectAttributeActionType)
A type that can be either
Update or Delete . |
void |
setObjectAttributeUpdateValue(TypedAttributeValue objectAttributeUpdateValue)
The value that you want to update to.
|
String |
toString()
Returns a string representation of this object.
|
ObjectAttributeAction |
withObjectAttributeActionType(String objectAttributeActionType)
A type that can be either
Update or Delete . |
ObjectAttributeAction |
withObjectAttributeActionType(UpdateActionType objectAttributeActionType)
A type that can be either
Update or Delete . |
ObjectAttributeAction |
withObjectAttributeUpdateValue(TypedAttributeValue objectAttributeUpdateValue)
The value that you want to update to.
|
public void setObjectAttributeActionType(String objectAttributeActionType)
A type that can be either Update
or Delete
.
objectAttributeActionType
- A type that can be either Update
or Delete
.UpdateActionType
public String getObjectAttributeActionType()
A type that can be either Update
or Delete
.
Update
or Delete
.UpdateActionType
public ObjectAttributeAction withObjectAttributeActionType(String objectAttributeActionType)
A type that can be either Update
or Delete
.
objectAttributeActionType
- A type that can be either Update
or Delete
.UpdateActionType
public void setObjectAttributeActionType(UpdateActionType objectAttributeActionType)
A type that can be either Update
or Delete
.
objectAttributeActionType
- A type that can be either Update
or Delete
.UpdateActionType
public ObjectAttributeAction withObjectAttributeActionType(UpdateActionType objectAttributeActionType)
A type that can be either Update
or Delete
.
objectAttributeActionType
- A type that can be either Update
or Delete
.UpdateActionType
public void setObjectAttributeUpdateValue(TypedAttributeValue objectAttributeUpdateValue)
The value that you want to update to.
objectAttributeUpdateValue
- The value that you want to update to.public TypedAttributeValue getObjectAttributeUpdateValue()
The value that you want to update to.
public ObjectAttributeAction withObjectAttributeUpdateValue(TypedAttributeValue objectAttributeUpdateValue)
The value that you want to update to.
objectAttributeUpdateValue
- The value that you want to update to.public String toString()
toString
in class Object
Object.toString()
public ObjectAttributeAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.