@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransactGetItemsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
TransactGetItemsResult() |
| Modifier and Type | Method and Description |
|---|---|
TransactGetItemsResult |
clone() |
boolean |
equals(Object obj) |
List<ConsumedCapacity> |
getConsumedCapacity()
If the ReturnConsumedCapacity value was
TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in
the TransactItems parameter. |
List<ItemResponse> |
getResponses()
An ordered array of up to 100
ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. |
int |
hashCode() |
void |
setConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
If the ReturnConsumedCapacity value was
TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in
the TransactItems parameter. |
void |
setResponses(Collection<ItemResponse> responses)
An ordered array of up to 100
ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. |
String |
toString()
Returns a string representation of this object.
|
TransactGetItemsResult |
withConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
If the ReturnConsumedCapacity value was
TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in
the TransactItems parameter. |
TransactGetItemsResult |
withConsumedCapacity(ConsumedCapacity... consumedCapacity)
If the ReturnConsumedCapacity value was
TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in
the TransactItems parameter. |
TransactGetItemsResult |
withResponses(Collection<ItemResponse> responses)
An ordered array of up to 100
ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. |
TransactGetItemsResult |
withResponses(ItemResponse... responses)
An ordered array of up to 100
ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ConsumedCapacity> getConsumedCapacity()
If the ReturnConsumedCapacity value was TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in
the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units
consumed by the TransactGetItems call in that table.
TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem
objects in the TransactItems parameter. These ConsumedCapacity objects report the
read-capacity units consumed by the TransactGetItems call in that table.public void setConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
If the ReturnConsumedCapacity value was TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in
the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units
consumed by the TransactGetItems call in that table.
consumedCapacity - If the ReturnConsumedCapacity value was TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem
objects in the TransactItems parameter. These ConsumedCapacity objects report the
read-capacity units consumed by the TransactGetItems call in that table.public TransactGetItemsResult withConsumedCapacity(ConsumedCapacity... consumedCapacity)
If the ReturnConsumedCapacity value was TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in
the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units
consumed by the TransactGetItems call in that table.
NOTE: This method appends the values to the existing list (if any). Use
setConsumedCapacity(java.util.Collection) or withConsumedCapacity(java.util.Collection) if you
want to override the existing values.
consumedCapacity - If the ReturnConsumedCapacity value was TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem
objects in the TransactItems parameter. These ConsumedCapacity objects report the
read-capacity units consumed by the TransactGetItems call in that table.public TransactGetItemsResult withConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
If the ReturnConsumedCapacity value was TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in
the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units
consumed by the TransactGetItems call in that table.
consumedCapacity - If the ReturnConsumedCapacity value was TOTAL, this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem
objects in the TransactItems parameter. These ConsumedCapacity objects report the
read-capacity units consumed by the TransactGetItems call in that table.public List<ItemResponse> getResponses()
An ordered array of up to 100 ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. Each
ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the
requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the
requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.
ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. Each
ItemResponse object contains a Map of the name-value pairs that are the projected attributes
of the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null,
or if the requested item has no projected attributes, the corresponding ItemResponse object
is an empty Map.
public void setResponses(Collection<ItemResponse> responses)
An ordered array of up to 100 ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. Each
ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the
requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the
requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.
responses - An ordered array of up to 100 ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. Each
ItemResponse object contains a Map of the name-value pairs that are the projected attributes
of the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or
if the requested item has no projected attributes, the corresponding ItemResponse object is
an empty Map.
public TransactGetItemsResult withResponses(ItemResponse... responses)
An ordered array of up to 100 ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. Each
ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the
requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the
requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.
NOTE: This method appends the values to the existing list (if any). Use
setResponses(java.util.Collection) or withResponses(java.util.Collection) if you want to
override the existing values.
responses - An ordered array of up to 100 ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. Each
ItemResponse object contains a Map of the name-value pairs that are the projected attributes
of the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or
if the requested item has no projected attributes, the corresponding ItemResponse object is
an empty Map.
public TransactGetItemsResult withResponses(Collection<ItemResponse> responses)
An ordered array of up to 100 ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. Each
ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the
requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the
requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.
responses - An ordered array of up to 100 ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. Each
ItemResponse object contains a Map of the name-value pairs that are the projected attributes
of the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or
if the requested item has no projected attributes, the corresponding ItemResponse object is
an empty Map.
public String toString()
toString in class ObjectObject.toString()public TransactGetItemsResult clone()