Interface PurchaseOptionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PurchaseOptionSummary.Builder,,PurchaseOptionSummary> SdkBuilder<PurchaseOptionSummary.Builder,,PurchaseOptionSummary> SdkPojo
- Enclosing class:
PurchaseOptionSummary
-
Method Summary
Modifier and TypeMethodDescriptionassociatedEntities(Collection<PurchaseOptionAssociatedEntity> associatedEntities) The products, offers, and offer sets associated with this purchase option.associatedEntities(Consumer<PurchaseOptionAssociatedEntity.Builder>... associatedEntities) The products, offers, and offer sets associated with this purchase option.associatedEntities(PurchaseOptionAssociatedEntity... associatedEntities) The products, offers, and offer sets associated with this purchase option.availableFromTime(Instant availableFromTime) The date and time when the purchase option became available to the buyer.badges(Collection<PurchaseOptionBadge> badges) Badges indicating special attributes of the purchase option, such as private pricing or future dated.badges(Consumer<PurchaseOptionBadge.Builder>... badges) Badges indicating special attributes of the purchase option, such as private pricing or future dated.badges(PurchaseOptionBadge... badges) Badges indicating special attributes of the purchase option, such as private pricing or future dated.The name of the catalog that the purchase option belongs to.expirationTime(Instant expirationTime) The date and time when the purchase option expires and is no longer available for procurement.purchaseOptionId(String purchaseOptionId) The unique identifier of the purchase option.purchaseOptionName(String purchaseOptionName) The display name of the purchase option.purchaseOptionType(String purchaseOptionType) The type of purchase option.purchaseOptionType(PurchaseOptionType purchaseOptionType) The type of purchase option.default PurchaseOptionSummary.BuildersellerOfRecord(Consumer<SellerInformation.Builder> sellerOfRecord) The entity responsible for selling the product under this purchase option.sellerOfRecord(SellerInformation sellerOfRecord) The entity responsible for selling the product under this 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
-
purchaseOptionId
The unique identifier of the purchase option.
- Parameters:
purchaseOptionId- The unique identifier of the purchase option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalog
The name of the catalog that the purchase option belongs to.
- Parameters:
catalog- The name of the catalog that the purchase option belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
purchaseOptionType
The type of purchase option. Values are
OFFERfor a single-product offer orOFFERSETfor a bundled offer set.- Parameters:
purchaseOptionType- The type of purchase option. Values areOFFERfor a single-product offer orOFFERSETfor a bundled offer set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
purchaseOptionType
The type of purchase option. Values are
OFFERfor a single-product offer orOFFERSETfor a bundled offer set.- Parameters:
purchaseOptionType- The type of purchase option. Values areOFFERfor a single-product offer orOFFERSETfor a bundled offer set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
purchaseOptionName
The display name of the purchase option.
- Parameters:
purchaseOptionName- The display name of the purchase option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableFromTime
The date and time when the purchase option became available to the buyer.
- Parameters:
availableFromTime- The date and time when the purchase option became available to the buyer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationTime
The date and time when the purchase option expires and is no longer available for procurement.
- Parameters:
expirationTime- The date and time when the purchase option expires and is no longer available for procurement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sellerOfRecord
The entity responsible for selling the product under this purchase option.
- Parameters:
sellerOfRecord- The entity responsible for selling the product under this purchase option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sellerOfRecord
default PurchaseOptionSummary.Builder sellerOfRecord(Consumer<SellerInformation.Builder> sellerOfRecord) The entity responsible for selling the product under this purchase option.
This is a convenience method that creates an instance of theSellerInformation.Builderavoiding the need to create one manually viaSellerInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosellerOfRecord(SellerInformation).- Parameters:
sellerOfRecord- a consumer that will call methods onSellerInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
badges
Badges indicating special attributes of the purchase option, such as private pricing or future dated.
- Parameters:
badges- Badges indicating special attributes of the purchase option, such as private pricing or future dated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
badges
Badges indicating special attributes of the purchase option, such as private pricing or future dated.
- Parameters:
badges- Badges indicating special attributes of the purchase option, such as private pricing or future dated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
badges
Badges indicating special attributes of the purchase option, such as private pricing or future dated.
This is a convenience method that creates an instance of thePurchaseOptionBadge.Builderavoiding the need to create one manually viaPurchaseOptionBadge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobadges(List<PurchaseOptionBadge>).- Parameters:
badges- a consumer that will call methods onPurchaseOptionBadge.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedEntities
PurchaseOptionSummary.Builder associatedEntities(Collection<PurchaseOptionAssociatedEntity> associatedEntities) The products, offers, and offer sets associated with this purchase option.
- Parameters:
associatedEntities- The products, offers, and offer sets associated with this purchase option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedEntities
PurchaseOptionSummary.Builder associatedEntities(PurchaseOptionAssociatedEntity... associatedEntities) The products, offers, and offer sets associated with this purchase option.
- Parameters:
associatedEntities- The products, offers, and offer sets associated with this purchase option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedEntities
PurchaseOptionSummary.Builder associatedEntities(Consumer<PurchaseOptionAssociatedEntity.Builder>... associatedEntities) The products, offers, and offer sets associated with this purchase option.
This is a convenience method that creates an instance of thePurchaseOptionAssociatedEntity.Builderavoiding the need to create one manually viaPurchaseOptionAssociatedEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedEntities(List<PurchaseOptionAssociatedEntity>).- Parameters:
associatedEntities- a consumer that will call methods onPurchaseOptionAssociatedEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-