@Generated(value="software.amazon.awssdk:codegen") public final class TransactGetItemsResponse extends DynamoDbResponse implements ToCopyableBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransactGetItemsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TransactGetItemsResponse.Builder |
builder() |
List<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. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse. |
int |
hashCode() |
List<ItemResponse> |
responses()
An ordered array of up to 10
ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransactGetItemsResponse.Builder> |
serializableBuilderClass() |
TransactGetItemsResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadatasdkHttpResponsecopypublic List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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> responses()
An ordered array of up to 10 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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 TransactGetItemsResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>toBuilder in class AwsResponsepublic static TransactGetItemsResponse.Builder builder()
public static Class<? extends TransactGetItemsResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponseSdkResponse. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class) method will
again be available.getValueForField in class SdkResponsefieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.