@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteStatementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ExecuteStatementResult() |
Modifier and Type | Method and Description |
---|---|
ExecuteStatementResult |
clone() |
boolean |
equals(Object obj) |
List<Map<String,AttributeValue>> |
getItems()
If a read operation was used, this property will contain the result of the reade operation; a map of attribute
names and their values.
|
String |
getNextToken()
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response.
|
int |
hashCode() |
void |
setItems(Collection<Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the reade operation; a map of attribute
names and their values.
|
void |
setNextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteStatementResult |
withItems(Collection<Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the reade operation; a map of attribute
names and their values.
|
ExecuteStatementResult |
withItems(Map<String,AttributeValue>... items)
If a read operation was used, this property will contain the result of the reade operation; a map of attribute
names and their values.
|
ExecuteStatementResult |
withNextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Map<String,AttributeValue>> getItems()
If a read operation was used, this property will contain the result of the reade operation; a map of attribute names and their values. For the write operations this value will be empty.
public void setItems(Collection<Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the reade operation; a map of attribute names and their values. For the write operations this value will be empty.
items
- If a read operation was used, this property will contain the result of the reade operation; a map of
attribute names and their values. For the write operations this value will be empty.public ExecuteStatementResult withItems(Map<String,AttributeValue>... items)
If a read operation was used, this property will contain the result of the reade operation; a map of attribute names and their values. For the write operations this value will be empty.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- If a read operation was used, this property will contain the result of the reade operation; a map of
attribute names and their values. For the write operations this value will be empty.public ExecuteStatementResult withItems(Collection<Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the reade operation; a map of attribute names and their values. For the write operations this value will be empty.
items
- If a read operation was used, this property will contain the result of the reade operation; a map of
attribute names and their values. For the write operations this value will be empty.public void setNextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.
nextToken
- If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response. If set, you can use that this value in the subsequent request to get the remaining results.public String getNextToken()
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.
public ExecuteStatementResult withNextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.
nextToken
- If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response. If set, you can use that this value in the subsequent request to get the remaining results.public String toString()
toString
in class Object
Object.toString()
public ExecuteStatementResult clone()
Copyright © 2021. All rights reserved.