@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransactGetItemsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
TransactGetItemsRequest() |
Modifier and Type | Method and Description |
---|---|
TransactGetItemsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getReturnConsumedCapacity()
A value of
TOTAL causes consumed capacity information to be returned, and a value of
NONE prevents that information from being returned. |
List<TransactGetItem> |
getTransactItems()
An ordered array of up to 25
TransactGetItem objects, each of which contains a Get
structure. |
int |
hashCode() |
void |
setReturnConsumedCapacity(String returnConsumedCapacity)
A value of
TOTAL causes consumed capacity information to be returned, and a value of
NONE prevents that information from being returned. |
void |
setTransactItems(Collection<TransactGetItem> transactItems)
An ordered array of up to 25
TransactGetItem objects, each of which contains a Get
structure. |
String |
toString()
Returns a string representation of this object.
|
TransactGetItemsRequest |
withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity)
A value of
TOTAL causes consumed capacity information to be returned, and a value of
NONE prevents that information from being returned. |
TransactGetItemsRequest |
withReturnConsumedCapacity(String returnConsumedCapacity)
A value of
TOTAL causes consumed capacity information to be returned, and a value of
NONE prevents that information from being returned. |
TransactGetItemsRequest |
withTransactItems(Collection<TransactGetItem> transactItems)
An ordered array of up to 25
TransactGetItem objects, each of which contains a Get
structure. |
TransactGetItemsRequest |
withTransactItems(TransactGetItem... transactItems)
An ordered array of up to 25
TransactGetItem objects, each of which contains a Get
structure. |
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeout
public List<TransactGetItem> getTransactItems()
An ordered array of up to 25 TransactGetItem
objects, each of which contains a Get
structure.
TransactGetItem
objects, each of which contains a
Get
structure.public void setTransactItems(Collection<TransactGetItem> transactItems)
An ordered array of up to 25 TransactGetItem
objects, each of which contains a Get
structure.
transactItems
- An ordered array of up to 25 TransactGetItem
objects, each of which contains a
Get
structure.public TransactGetItemsRequest withTransactItems(TransactGetItem... transactItems)
An ordered array of up to 25 TransactGetItem
objects, each of which contains a Get
structure.
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 25 TransactGetItem
objects, each of which contains a
Get
structure.public TransactGetItemsRequest withTransactItems(Collection<TransactGetItem> transactItems)
An ordered array of up to 25 TransactGetItem
objects, each of which contains a Get
structure.
transactItems
- An ordered array of up to 25 TransactGetItem
objects, each of which contains a
Get
structure.public void setReturnConsumedCapacity(String returnConsumedCapacity)
A value of TOTAL
causes consumed capacity information to be returned, and a value of
NONE
prevents that information from being returned. No other value is valid.
returnConsumedCapacity
- A value of TOTAL
causes consumed capacity information to be returned, and a value of
NONE
prevents that information from being returned. No other value is valid.ReturnConsumedCapacity
public String getReturnConsumedCapacity()
A value of TOTAL
causes consumed capacity information to be returned, and a value of
NONE
prevents that information from being returned. No other value is valid.
TOTAL
causes consumed capacity information to be returned, and a value of
NONE
prevents that information from being returned. No other value is valid.ReturnConsumedCapacity
public TransactGetItemsRequest withReturnConsumedCapacity(String returnConsumedCapacity)
A value of TOTAL
causes consumed capacity information to be returned, and a value of
NONE
prevents that information from being returned. No other value is valid.
returnConsumedCapacity
- A value of TOTAL
causes consumed capacity information to be returned, and a value of
NONE
prevents that information from being returned. No other value is valid.ReturnConsumedCapacity
public TransactGetItemsRequest withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity)
A value of TOTAL
causes consumed capacity information to be returned, and a value of
NONE
prevents that information from being returned. No other value is valid.
returnConsumedCapacity
- A value of TOTAL
causes consumed capacity information to be returned, and a value of
NONE
prevents that information from being returned. No other value is valid.ReturnConsumedCapacity
public String toString()
toString
in class Object
Object.toString()
public TransactGetItemsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.