@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchStatementResponse extends Object implements Serializable, Cloneable, StructuredPojo
A PartiQL batch statement response..
Constructor and Description |
---|
BatchStatementResponse() |
Modifier and Type | Method and Description |
---|---|
BatchStatementResponse |
addItemEntry(String key,
AttributeValue value)
Add a single Item entry
|
BatchStatementResponse |
clearItemEntries()
Removes all the entries added into Item.
|
BatchStatementResponse |
clone() |
boolean |
equals(Object obj) |
BatchStatementError |
getError()
The error associated with a failed PartiQL batch statement.
|
Map<String,AttributeValue> |
getItem()
A DynamoDB item associated with a BatchStatementResponse
|
String |
getTableName()
The table name associated with a failed PartiQL batch statement.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setError(BatchStatementError error)
The error associated with a failed PartiQL batch statement.
|
void |
setItem(Map<String,AttributeValue> item)
A DynamoDB item associated with a BatchStatementResponse
|
void |
setTableName(String tableName)
The table name associated with a failed PartiQL batch statement.
|
String |
toString()
Returns a string representation of this object.
|
BatchStatementResponse |
withError(BatchStatementError error)
The error associated with a failed PartiQL batch statement.
|
BatchStatementResponse |
withItem(Map<String,AttributeValue> item)
A DynamoDB item associated with a BatchStatementResponse
|
BatchStatementResponse |
withTableName(String tableName)
The table name associated with a failed PartiQL batch statement.
|
public void setError(BatchStatementError error)
The error associated with a failed PartiQL batch statement.
error
- The error associated with a failed PartiQL batch statement.public BatchStatementError getError()
The error associated with a failed PartiQL batch statement.
public BatchStatementResponse withError(BatchStatementError error)
The error associated with a failed PartiQL batch statement.
error
- The error associated with a failed PartiQL batch statement.public void setTableName(String tableName)
The table name associated with a failed PartiQL batch statement.
tableName
- The table name associated with a failed PartiQL batch statement.public String getTableName()
The table name associated with a failed PartiQL batch statement.
public BatchStatementResponse withTableName(String tableName)
The table name associated with a failed PartiQL batch statement.
tableName
- The table name associated with a failed PartiQL batch statement.public Map<String,AttributeValue> getItem()
A DynamoDB item associated with a BatchStatementResponse
public void setItem(Map<String,AttributeValue> item)
A DynamoDB item associated with a BatchStatementResponse
item
- A DynamoDB item associated with a BatchStatementResponsepublic BatchStatementResponse withItem(Map<String,AttributeValue> item)
A DynamoDB item associated with a BatchStatementResponse
item
- A DynamoDB item associated with a BatchStatementResponsepublic BatchStatementResponse addItemEntry(String key, AttributeValue value)
public BatchStatementResponse clearItemEntries()
public String toString()
toString
in class Object
Object.toString()
public BatchStatementResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.