@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) |
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)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.