@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransactWriteItemsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
TransactWriteItemsRequest() |
| Modifier and Type | Method and Description |
|---|---|
TransactWriteItemsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Providing a
ClientRequestToken makes the call to TransactWriteItems idempotent, meaning
that multiple identical calls have the same effect as one single call. |
String |
getReturnConsumedCapacity() |
String |
getReturnItemCollectionMetrics()
Determines whether item collection metrics are returned.
|
List<TransactWriteItem> |
getTransactItems()
An ordered array of up to 100
TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. |
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Providing a
ClientRequestToken makes the call to TransactWriteItems idempotent, meaning
that multiple identical calls have the same effect as one single call. |
void |
setReturnConsumedCapacity(String returnConsumedCapacity) |
void |
setReturnItemCollectionMetrics(String returnItemCollectionMetrics)
Determines whether item collection metrics are returned.
|
void |
setTransactItems(Collection<TransactWriteItem> transactItems)
An ordered array of up to 100
TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. |
String |
toString()
Returns a string representation of this object.
|
TransactWriteItemsRequest |
withClientRequestToken(String clientRequestToken)
Providing a
ClientRequestToken makes the call to TransactWriteItems idempotent, meaning
that multiple identical calls have the same effect as one single call. |
TransactWriteItemsRequest |
withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) |
TransactWriteItemsRequest |
withReturnConsumedCapacity(String returnConsumedCapacity) |
TransactWriteItemsRequest |
withReturnItemCollectionMetrics(ReturnItemCollectionMetrics returnItemCollectionMetrics)
Determines whether item collection metrics are returned.
|
TransactWriteItemsRequest |
withReturnItemCollectionMetrics(String returnItemCollectionMetrics)
Determines whether item collection metrics are returned.
|
TransactWriteItemsRequest |
withTransactItems(Collection<TransactWriteItem> transactItems)
An ordered array of up to 100
TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. |
TransactWriteItemsRequest |
withTransactItems(TransactWriteItem... transactItems)
An ordered array of up to 100
TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<TransactWriteItem> getTransactItems()
An ordered array of up to 100 TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These can
operate on items in different tables, but the tables must reside in the same Amazon Web Services account and
Region, and no two of them can operate on the same item.
TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These
can operate on items in different tables, but the tables must reside in the same Amazon Web Services
account and Region, and no two of them can operate on the same item.public void setTransactItems(Collection<TransactWriteItem> transactItems)
An ordered array of up to 100 TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These can
operate on items in different tables, but the tables must reside in the same Amazon Web Services account and
Region, and no two of them can operate on the same item.
transactItems - An ordered array of up to 100 TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These
can operate on items in different tables, but the tables must reside in the same Amazon Web Services
account and Region, and no two of them can operate on the same item.public TransactWriteItemsRequest withTransactItems(TransactWriteItem... transactItems)
An ordered array of up to 100 TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These can
operate on items in different tables, but the tables must reside in the same Amazon Web Services account and
Region, and no two of them can operate on the same item.
NOTE: This method appends the values to the existing list (if any). Use
setTransactItems(java.util.Collection) or withTransactItems(java.util.Collection) if you want
to override the existing values.
transactItems - An ordered array of up to 100 TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These
can operate on items in different tables, but the tables must reside in the same Amazon Web Services
account and Region, and no two of them can operate on the same item.public TransactWriteItemsRequest withTransactItems(Collection<TransactWriteItem> transactItems)
An ordered array of up to 100 TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These can
operate on items in different tables, but the tables must reside in the same Amazon Web Services account and
Region, and no two of them can operate on the same item.
transactItems - An ordered array of up to 100 TransactWriteItem objects, each of which contains a
ConditionCheck, Put, Update, or Delete object. These
can operate on items in different tables, but the tables must reside in the same Amazon Web Services
account and Region, and no two of them can operate on the same item.public void setReturnConsumedCapacity(String returnConsumedCapacity)
returnConsumedCapacity - ReturnConsumedCapacitypublic String getReturnConsumedCapacity()
ReturnConsumedCapacitypublic TransactWriteItemsRequest withReturnConsumedCapacity(String returnConsumedCapacity)
returnConsumedCapacity - ReturnConsumedCapacitypublic TransactWriteItemsRequest withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity)
returnConsumedCapacity - ReturnConsumedCapacitypublic void setReturnItemCollectionMetrics(String returnItemCollectionMetrics)
Determines whether item collection metrics are returned. If set to SIZE, the response includes
statistics about item collections (if any), that were modified during the operation and are returned in the
response. If set to NONE (the default), no statistics are returned.
returnItemCollectionMetrics - Determines whether item collection metrics are returned. If set to SIZE, the response
includes statistics about item collections (if any), that were modified during the operation and are
returned in the response. If set to NONE (the default), no statistics are returned.ReturnItemCollectionMetricspublic String getReturnItemCollectionMetrics()
Determines whether item collection metrics are returned. If set to SIZE, the response includes
statistics about item collections (if any), that were modified during the operation and are returned in the
response. If set to NONE (the default), no statistics are returned.
SIZE, the response
includes statistics about item collections (if any), that were modified during the operation and are
returned in the response. If set to NONE (the default), no statistics are returned.ReturnItemCollectionMetricspublic TransactWriteItemsRequest withReturnItemCollectionMetrics(String returnItemCollectionMetrics)
Determines whether item collection metrics are returned. If set to SIZE, the response includes
statistics about item collections (if any), that were modified during the operation and are returned in the
response. If set to NONE (the default), no statistics are returned.
returnItemCollectionMetrics - Determines whether item collection metrics are returned. If set to SIZE, the response
includes statistics about item collections (if any), that were modified during the operation and are
returned in the response. If set to NONE (the default), no statistics are returned.ReturnItemCollectionMetricspublic TransactWriteItemsRequest withReturnItemCollectionMetrics(ReturnItemCollectionMetrics returnItemCollectionMetrics)
Determines whether item collection metrics are returned. If set to SIZE, the response includes
statistics about item collections (if any), that were modified during the operation and are returned in the
response. If set to NONE (the default), no statistics are returned.
returnItemCollectionMetrics - Determines whether item collection metrics are returned. If set to SIZE, the response
includes statistics about item collections (if any), that were modified during the operation and are
returned in the response. If set to NONE (the default), no statistics are returned.ReturnItemCollectionMetricspublic void setClientRequestToken(String clientRequestToken)
Providing a ClientRequestToken makes the call to TransactWriteItems idempotent, meaning
that multiple identical calls have the same effect as one single call.
Although multiple identical calls using the same client request token produce the same result on the server (no
side effects), the responses to the calls might not be the same. If the ReturnConsumedCapacity
parameter is set, then the initial TransactWriteItems call returns the amount of write capacity
units consumed in making the changes. Subsequent TransactWriteItems calls with the same client token
return the number of read capacity units consumed in reading the item.
A client request token is valid for 10 minutes after the first request that uses it is completed. After 10 minutes, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 10 minutes, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 10-minute
idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.
clientRequestToken - Providing a ClientRequestToken makes the call to TransactWriteItems idempotent,
meaning that multiple identical calls have the same effect as one single call.
Although multiple identical calls using the same client request token produce the same result on the
server (no side effects), the responses to the calls might not be the same. If the
ReturnConsumedCapacity parameter is set, then the initial TransactWriteItems
call returns the amount of write capacity units consumed in making the changes. Subsequent
TransactWriteItems calls with the same client token return the number of read capacity units
consumed in reading the item.
A client request token is valid for 10 minutes after the first request that uses it is completed. After 10 minutes, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 10 minutes, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 10-minute
idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.
public String getClientRequestToken()
Providing a ClientRequestToken makes the call to TransactWriteItems idempotent, meaning
that multiple identical calls have the same effect as one single call.
Although multiple identical calls using the same client request token produce the same result on the server (no
side effects), the responses to the calls might not be the same. If the ReturnConsumedCapacity
parameter is set, then the initial TransactWriteItems call returns the amount of write capacity
units consumed in making the changes. Subsequent TransactWriteItems calls with the same client token
return the number of read capacity units consumed in reading the item.
A client request token is valid for 10 minutes after the first request that uses it is completed. After 10 minutes, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 10 minutes, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 10-minute
idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.
ClientRequestToken makes the call to TransactWriteItems idempotent,
meaning that multiple identical calls have the same effect as one single call.
Although multiple identical calls using the same client request token produce the same result on the
server (no side effects), the responses to the calls might not be the same. If the
ReturnConsumedCapacity parameter is set, then the initial TransactWriteItems
call returns the amount of write capacity units consumed in making the changes. Subsequent
TransactWriteItems calls with the same client token return the number of read capacity units
consumed in reading the item.
A client request token is valid for 10 minutes after the first request that uses it is completed. After 10 minutes, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 10 minutes, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 10-minute
idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.
public TransactWriteItemsRequest withClientRequestToken(String clientRequestToken)
Providing a ClientRequestToken makes the call to TransactWriteItems idempotent, meaning
that multiple identical calls have the same effect as one single call.
Although multiple identical calls using the same client request token produce the same result on the server (no
side effects), the responses to the calls might not be the same. If the ReturnConsumedCapacity
parameter is set, then the initial TransactWriteItems call returns the amount of write capacity
units consumed in making the changes. Subsequent TransactWriteItems calls with the same client token
return the number of read capacity units consumed in reading the item.
A client request token is valid for 10 minutes after the first request that uses it is completed. After 10 minutes, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 10 minutes, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 10-minute
idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.
clientRequestToken - Providing a ClientRequestToken makes the call to TransactWriteItems idempotent,
meaning that multiple identical calls have the same effect as one single call.
Although multiple identical calls using the same client request token produce the same result on the
server (no side effects), the responses to the calls might not be the same. If the
ReturnConsumedCapacity parameter is set, then the initial TransactWriteItems
call returns the amount of write capacity units consumed in making the changes. Subsequent
TransactWriteItems calls with the same client token return the number of read capacity units
consumed in reading the item.
A client request token is valid for 10 minutes after the first request that uses it is completed. After 10 minutes, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 10 minutes, or the result might not be idempotent.
If you submit a request with the same client token but a change in other parameters within the 10-minute
idempotency window, DynamoDB returns an IdempotentParameterMismatch exception.
public String toString()
toString in class ObjectObject.toString()public TransactWriteItemsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()