@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WriteOperation extends Object implements Serializable, Cloneable, StructuredPojo
Defines an object to add to or delete from a governed table.
Constructor and Description |
---|
WriteOperation() |
Modifier and Type | Method and Description |
---|---|
WriteOperation |
clone() |
boolean |
equals(Object obj) |
AddObjectInput |
getAddObject()
A new object to add to the governed table.
|
DeleteObjectInput |
getDeleteObject()
An object to delete from the governed table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAddObject(AddObjectInput addObject)
A new object to add to the governed table.
|
void |
setDeleteObject(DeleteObjectInput deleteObject)
An object to delete from the governed table.
|
String |
toString()
Returns a string representation of this object.
|
WriteOperation |
withAddObject(AddObjectInput addObject)
A new object to add to the governed table.
|
WriteOperation |
withDeleteObject(DeleteObjectInput deleteObject)
An object to delete from the governed table.
|
public void setAddObject(AddObjectInput addObject)
A new object to add to the governed table.
addObject
- A new object to add to the governed table.public AddObjectInput getAddObject()
A new object to add to the governed table.
public WriteOperation withAddObject(AddObjectInput addObject)
A new object to add to the governed table.
addObject
- A new object to add to the governed table.public void setDeleteObject(DeleteObjectInput deleteObject)
An object to delete from the governed table.
deleteObject
- An object to delete from the governed table.public DeleteObjectInput getDeleteObject()
An object to delete from the governed table.
public WriteOperation withDeleteObject(DeleteObjectInput deleteObject)
An object to delete from the governed table.
deleteObject
- An object to delete from the governed table.public String toString()
toString
in class Object
Object.toString()
public WriteOperation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.