ToCopyableBuilder<GetItemResponse.Builder,GetItemResponse>
@Generated("software.amazon.awssdk:codegen") public class GetItemResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetItemResponse.Builder,GetItemResponse>
Represents the output of a GetItem
operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetItemResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetItemResponse.Builder |
builder() |
|
ConsumedCapacity |
consumedCapacity() |
The capacity units consumed by the
GetItem operation. |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Map<String,AttributeValue> |
item() |
A map of attribute names to
AttributeValue objects, as specified by
ProjectionExpression . |
static Class<? extends GetItemResponse.Builder> |
serializableBuilderClass() |
|
GetItemResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public Map<String,AttributeValue> item()
A map of attribute names to AttributeValue
objects, as specified by
ProjectionExpression
.
AttributeValue
objects, as specified by
ProjectionExpression
.public ConsumedCapacity consumedCapacity()
The capacity units consumed by the GetItem
operation. The data returned includes the total
provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.
ConsumedCapacity
is only returned if the ReturnConsumedCapacity
parameter was
specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
GetItem
operation. The data returned includes the total
provisioned throughput consumed, along with statistics for the table and any indexes involved in the
operation. ConsumedCapacity
is only returned if the ReturnConsumedCapacity
parameter was specified. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.public GetItemResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetItemResponse.Builder,GetItemResponse>
public static GetItemResponse.Builder builder()
public static Class<? extends GetItemResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.