Interface PutItemResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutItemResponse.Builder,,PutItemResponse> QueryDataPlaneResponse.Builder,SdkBuilder<PutItemResponse.Builder,,PutItemResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutItemResponse
@Mutable
@NotThreadSafe
public static interface PutItemResponse.Builder
extends QueryDataPlaneResponse.Builder, SdkPojo, CopyableBuilder<PutItemResponse.Builder,PutItemResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, AttributeValue> attributes) Sets the value of the Attributes property for this object.default PutItemResponse.BuilderconsumedCapacity(Consumer<ConsumedCapacity.Builder> consumedCapacity) Sets the value of the ConsumedCapacity property for this object.consumedCapacity(ConsumedCapacity consumedCapacity) Sets the value of the ConsumedCapacity property for this object.default PutItemResponse.BuilderitemCollectionMetrics(Consumer<ItemCollectionMetrics.Builder> itemCollectionMetrics) Sets the value of the ItemCollectionMetrics property for this object.itemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics) Sets the value of the ItemCollectionMetrics property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.querydataplane.model.QueryDataPlaneResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
attributes
Sets the value of the Attributes property for this object.- Parameters:
attributes- The new value for the Attributes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
Sets the value of the ConsumedCapacity property for this object.- Parameters:
consumedCapacity- The new value for the ConsumedCapacity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
default PutItemResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder> consumedCapacity) Sets the value of the ConsumedCapacity property for this object. This is a convenience method that creates an instance of theConsumedCapacity.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 onConsumedCapacity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
itemCollectionMetrics
Sets the value of the ItemCollectionMetrics property for this object.- Parameters:
itemCollectionMetrics- The new value for the ItemCollectionMetrics property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemCollectionMetrics
default PutItemResponse.Builder itemCollectionMetrics(Consumer<ItemCollectionMetrics.Builder> itemCollectionMetrics) Sets the value of the ItemCollectionMetrics property for this object. This is a convenience method that creates an instance of theItemCollectionMetrics.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 onItemCollectionMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-