@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransactWriteItem extends Object implements Serializable, Cloneable, StructuredPojo
A list of requests that can perform update, put, delete, or check operations on multiple items in one or more tables atomically.
Constructor and Description |
---|
TransactWriteItem() |
Modifier and Type | Method and Description |
---|---|
TransactWriteItem |
clone() |
boolean |
equals(Object obj) |
ConditionCheck |
getConditionCheck()
A request to perform a check item operation.
|
Delete |
getDelete()
A request to perform a
DeleteItem operation. |
Put |
getPut()
A request to perform a
PutItem operation. |
Update |
getUpdate()
A request to perform an
UpdateItem operation. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConditionCheck(ConditionCheck conditionCheck)
A request to perform a check item operation.
|
void |
setDelete(Delete delete)
A request to perform a
DeleteItem operation. |
void |
setPut(Put put)
A request to perform a
PutItem operation. |
void |
setUpdate(Update update)
A request to perform an
UpdateItem operation. |
String |
toString()
Returns a string representation of this object.
|
TransactWriteItem |
withConditionCheck(ConditionCheck conditionCheck)
A request to perform a check item operation.
|
TransactWriteItem |
withDelete(Delete delete)
A request to perform a
DeleteItem operation. |
TransactWriteItem |
withPut(Put put)
A request to perform a
PutItem operation. |
TransactWriteItem |
withUpdate(Update update)
A request to perform an
UpdateItem operation. |
public void setConditionCheck(ConditionCheck conditionCheck)
A request to perform a check item operation.
conditionCheck
- A request to perform a check item operation.public ConditionCheck getConditionCheck()
A request to perform a check item operation.
public TransactWriteItem withConditionCheck(ConditionCheck conditionCheck)
A request to perform a check item operation.
conditionCheck
- A request to perform a check item operation.public void setPut(Put put)
A request to perform a PutItem
operation.
put
- A request to perform a PutItem
operation.public Put getPut()
A request to perform a PutItem
operation.
PutItem
operation.public TransactWriteItem withPut(Put put)
A request to perform a PutItem
operation.
put
- A request to perform a PutItem
operation.public void setDelete(Delete delete)
A request to perform a DeleteItem
operation.
delete
- A request to perform a DeleteItem
operation.public Delete getDelete()
A request to perform a DeleteItem
operation.
DeleteItem
operation.public TransactWriteItem withDelete(Delete delete)
A request to perform a DeleteItem
operation.
delete
- A request to perform a DeleteItem
operation.public void setUpdate(Update update)
A request to perform an UpdateItem
operation.
update
- A request to perform an UpdateItem
operation.public Update getUpdate()
A request to perform an UpdateItem
operation.
UpdateItem
operation.public TransactWriteItem withUpdate(Update update)
A request to perform an UpdateItem
operation.
update
- A request to perform an UpdateItem
operation.public String toString()
toString
in class Object
Object.toString()
public TransactWriteItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.