Interface GetItemResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetItemResponse.Builder,,- GetItemResponse> - DynamoDbResponse.Builder,- SdkBuilder<GetItemResponse.Builder,,- GetItemResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetItemResponse
- 
Method SummaryModifier and TypeMethodDescriptiondefault GetItemResponse.BuilderconsumedCapacity(Consumer<ConsumedCapacity.Builder> consumedCapacity) The capacity units consumed by theGetItemoperation.consumedCapacity(ConsumedCapacity consumedCapacity) The capacity units consumed by theGetItemoperation.item(Map<String, AttributeValue> item) A map of attribute names toAttributeValueobjects, as specified byProjectionExpression.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
itemA map of attribute names to AttributeValueobjects, as specified byProjectionExpression.- Parameters:
- item- A map of attribute names to- AttributeValueobjects, as specified by- ProjectionExpression.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
consumedCapacityThe capacity units consumed by the GetItemoperation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.ConsumedCapacityis only returned if theReturnConsumedCapacityparameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.- Parameters:
- consumedCapacity- The capacity units consumed by the- GetItemoperation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.- ConsumedCapacityis only returned if the- ReturnConsumedCapacityparameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
consumedCapacitydefault GetItemResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder> consumedCapacity) The capacity units consumed by the This is a convenience method that creates an instance of theGetItemoperation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.ConsumedCapacityis only returned if theReturnConsumedCapacityparameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.ConsumedCapacity.Builderavoiding the need to create one manually viaConsumedCapacity.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsumedCapacity(ConsumedCapacity).- Parameters:
- consumedCapacity- a consumer that will call methods on- ConsumedCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-