Interface ListingAssociatedEntity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ListingAssociatedEntity.Builder,,ListingAssociatedEntity> SdkBuilder<ListingAssociatedEntity.Builder,,ListingAssociatedEntity> SdkPojo
- Enclosing class:
ListingAssociatedEntity
@Mutable
@NotThreadSafe
public static interface ListingAssociatedEntity.Builder
extends SdkPojo, CopyableBuilder<ListingAssociatedEntity.Builder,ListingAssociatedEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListingAssociatedEntity.Builderoffer(Consumer<OfferInformation.Builder> offer) Information about the default offer associated with the listing.offer(OfferInformation offer) Information about the default offer associated with the listing.default ListingAssociatedEntity.Builderproduct(Consumer<ProductInformation.Builder> product) Information about the product associated with the listing.product(ProductInformation product) Information about the product associated with the listing.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 product associated with the listing.
- Parameters:
product- Information about the product associated with the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
product
Information about the product associated with the listing.
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:
-
offer
Information about the default offer associated with the listing.
- Parameters:
offer- Information about the default offer associated with the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offer
Information about the default offer associated with the listing.
This is a convenience method that creates an instance of theOfferInformation.Builderavoiding the need to create one manually viaOfferInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooffer(OfferInformation).- Parameters:
offer- a consumer that will call methods onOfferInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-