Interface UpdateItemResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<UpdateItemResponse.Builder,,- UpdateItemResponse> - DynamoDbResponse.Builder,- SdkBuilder<UpdateItemResponse.Builder,,- UpdateItemResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- UpdateItemResponse
- 
Method SummaryModifier and TypeMethodDescriptionattributes(Map<String, AttributeValue> attributes) A map of attribute values as they appear before or after theUpdateItemoperation, as determined by theReturnValuesparameter.default UpdateItemResponse.BuilderconsumedCapacity(Consumer<ConsumedCapacity.Builder> consumedCapacity) The capacity units consumed by theUpdateItemoperation.consumedCapacity(ConsumedCapacity consumedCapacity) The capacity units consumed by theUpdateItemoperation.default UpdateItemResponse.BuilderitemCollectionMetrics(Consumer<ItemCollectionMetrics.Builder> itemCollectionMetrics) Information about item collections, if any, that were affected by theUpdateItemoperation.itemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics) Information about item collections, if any, that were affected by theUpdateItemoperation.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- 
attributesA map of attribute values as they appear before or after the UpdateItemoperation, as determined by theReturnValuesparameter.The Attributesmap is only present if the update was successful andReturnValueswas specified as something other thanNONEin the request. Each element represents one attribute.- Parameters:
- attributes- A map of attribute values as they appear before or after the- UpdateItemoperation, as determined by the- ReturnValuesparameter.- The - Attributesmap is only present if the update was successful and- ReturnValueswas specified as something other than- NONEin the request. Each element represents one attribute.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
consumedCapacityThe capacity units consumed by the UpdateItemoperation. 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 unity consumption for write operations in the Amazon DynamoDB Developer Guide.- Parameters:
- consumedCapacity- The capacity units consumed by the- UpdateItemoperation. 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 unity consumption for write operations in the Amazon DynamoDB Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
consumedCapacitydefault UpdateItemResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder> consumedCapacity) The capacity units consumed by the This is a convenience method that creates an instance of theUpdateItemoperation. 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 unity consumption for write 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:
 
- 
itemCollectionMetricsInformation about item collections, if any, that were affected by the UpdateItemoperation.ItemCollectionMetricsis only returned if theReturnItemCollectionMetricsparameter was specified. If the table does not have any local secondary indexes, this information is not returned in the response.Each ItemCollectionMetricselement consists of:- 
 ItemCollectionKey- The partition key value of the item collection. This is the same as the partition key value of the item itself.
- 
 SizeEstimateRangeGB- An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit.The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate. 
 - Parameters:
- itemCollectionMetrics- Information about item collections, if any, that were affected by the- UpdateItemoperation.- ItemCollectionMetricsis only returned if the- ReturnItemCollectionMetricsparameter was specified. If the table does not have any local secondary indexes, this information is not returned in the response.- Each - ItemCollectionMetricselement consists of:- 
        ItemCollectionKey- The partition key value of the item collection. This is the same as the partition key value of the item itself.
- 
        SizeEstimateRangeGB- An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit.The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate. 
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
itemCollectionMetricsdefault UpdateItemResponse.Builder itemCollectionMetrics(Consumer<ItemCollectionMetrics.Builder> itemCollectionMetrics) Information about item collections, if any, that were affected by the UpdateItemoperation.ItemCollectionMetricsis only returned if theReturnItemCollectionMetricsparameter was specified. If the table does not have any local secondary indexes, this information is not returned in the response.Each ItemCollectionMetricselement consists of:- 
 ItemCollectionKey- The partition key value of the item collection. This is the same as the partition key value of the item itself.
- 
 SizeEstimateRangeGB- An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit.The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate. 
 ItemCollectionMetrics.Builderavoiding the need to create one manually viaItemCollectionMetrics.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitemCollectionMetrics(ItemCollectionMetrics).- Parameters:
- itemCollectionMetrics- a consumer that will call methods on- ItemCollectionMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
 
-