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