Interface ListingSummaryAssociatedEntity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ListingSummaryAssociatedEntity.Builder,,ListingSummaryAssociatedEntity> SdkBuilder<ListingSummaryAssociatedEntity.Builder,,ListingSummaryAssociatedEntity> SdkPojo
- Enclosing class:
ListingSummaryAssociatedEntity
@Mutable
@NotThreadSafe
public static interface ListingSummaryAssociatedEntity.Builder
extends SdkPojo, CopyableBuilder<ListingSummaryAssociatedEntity.Builder,ListingSummaryAssociatedEntity>
-
Method Summary
Modifier and TypeMethodDescriptionproduct(Consumer<ProductInformation.Builder> product) Information about the associated product.product(ProductInformation product) Information about the associated product.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
product
Information about the associated product.
- Parameters:
product- Information about the associated product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
product
default ListingSummaryAssociatedEntity.Builder product(Consumer<ProductInformation.Builder> product) Information about the associated product.
This is a convenience method that creates an instance of theProductInformation.Builderavoiding the need to create one manually viaProductInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproduct(ProductInformation).- Parameters:
product- a consumer that will call methods onProductInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-