Interface PurchaseOptionAssociatedEntity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PurchaseOptionAssociatedEntity.Builder,,PurchaseOptionAssociatedEntity> SdkBuilder<PurchaseOptionAssociatedEntity.Builder,,PurchaseOptionAssociatedEntity> SdkPojo
- Enclosing class:
PurchaseOptionAssociatedEntity
-
Method Summary
Modifier and TypeMethodDescriptionoffer(Consumer<OfferInformation.Builder> offer) Information about the offer associated with the purchase option.offer(OfferInformation offer) Information about the offer associated with the purchase option.offerSet(Consumer<OfferSetInformation.Builder> offerSet) Information about the offer set, if the purchase option is part of a bundled offer set.offerSet(OfferSetInformation offerSet) Information about the offer set, if the purchase option is part of a bundled offer set.product(Consumer<ProductInformation.Builder> product) Information about the product associated with the purchase option.product(ProductInformation product) Information about the product associated with the purchase option.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 purchase option.
- Parameters:
product- Information about the product associated with the purchase option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
product
default PurchaseOptionAssociatedEntity.Builder product(Consumer<ProductInformation.Builder> product) Information about the product associated with the purchase option.
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 offer associated with the purchase option.
- Parameters:
offer- Information about the offer associated with the purchase option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offer
Information about the offer associated with the purchase option.
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:
-
offerSet
Information about the offer set, if the purchase option is part of a bundled offer set.
- Parameters:
offerSet- Information about the offer set, if the purchase option is part of a bundled offer set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerSet
default PurchaseOptionAssociatedEntity.Builder offerSet(Consumer<OfferSetInformation.Builder> offerSet) Information about the offer set, if the purchase option 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:
-