Interface GetOfferSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetOfferSetResponse.Builder,,GetOfferSetResponse> MarketplaceDiscoveryResponse.Builder,SdkBuilder<GetOfferSetResponse.Builder,,GetOfferSetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetOfferSetResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociatedEntities(Collection<OfferSetAssociatedEntity> associatedEntities) The products and offers included in this offer set.associatedEntities(Consumer<OfferSetAssociatedEntity.Builder>... associatedEntities) The products and offers included in this offer set.associatedEntities(OfferSetAssociatedEntity... associatedEntities) The products and offers included in this offer set.availableFromTime(Instant availableFromTime) The date and time when the offer set became available to the buyer.badges(Collection<PurchaseOptionBadge> badges) Badges indicating special attributes of the offer set, such as private pricing or future dated.badges(Consumer<PurchaseOptionBadge.Builder>... badges) Badges indicating special attributes of the offer set, such as private pricing or future dated.badges(PurchaseOptionBadge... badges) Badges indicating special attributes of the offer set, such as private pricing or future dated.buyerNotes(String buyerNotes) Detailed information about the offer set that helps buyers understand its purpose and contents.The name of the catalog that the offer set belongs to.expirationTime(Instant expirationTime) The date and time when the offer set expires and is no longer available for procurement.offerSetId(String offerSetId) The unique identifier of the offer set.offerSetName(String offerSetName) The display name of the offer set.default GetOfferSetResponse.BuildersellerOfRecord(Consumer<SellerInformation.Builder> sellerOfRecord) The entity responsible for selling the products under this offer set.sellerOfRecord(SellerInformation sellerOfRecord) The entity responsible for selling the products under this offer set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.marketplacediscovery.model.MarketplaceDiscoveryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
offerSetId
The unique identifier of the offer set.
- Parameters:
offerSetId- The unique identifier of the offer set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalog
The name of the catalog that the offer set belongs to.
- Parameters:
catalog- The name of the catalog that the offer set belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerSetName
The display name of the offer set.
- Parameters:
offerSetName- The display name of the offer set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableFromTime
The date and time when the offer set became available to the buyer.
- Parameters:
availableFromTime- The date and time when the offer set 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 offer set expires and is no longer available for procurement.
- Parameters:
expirationTime- The date and time when the offer set expires and is no longer available for procurement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buyerNotes
Detailed information about the offer set that helps buyers understand its purpose and contents.
- Parameters:
buyerNotes- Detailed information about the offer set that helps buyers understand its purpose and contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sellerOfRecord
The entity responsible for selling the products under this offer set.
- Parameters:
sellerOfRecord- The entity responsible for selling the products under this offer set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sellerOfRecord
default GetOfferSetResponse.Builder sellerOfRecord(Consumer<SellerInformation.Builder> sellerOfRecord) The entity responsible for selling the products under this offer set.
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 offer set, such as private pricing or future dated.
- Parameters:
badges- Badges indicating special attributes of the offer set, 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 offer set, such as private pricing or future dated.
- Parameters:
badges- Badges indicating special attributes of the offer set, 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 offer set, 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
GetOfferSetResponse.Builder associatedEntities(Collection<OfferSetAssociatedEntity> associatedEntities) The products and offers included in this offer set.
- Parameters:
associatedEntities- The products and offers included in this offer set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedEntities
The products and offers included in this offer set.
- Parameters:
associatedEntities- The products and offers included in this offer set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedEntities
GetOfferSetResponse.Builder associatedEntities(Consumer<OfferSetAssociatedEntity.Builder>... associatedEntities) The products and offers included in this offer set.
This is a convenience method that creates an instance of theOfferSetAssociatedEntity.Builderavoiding the need to create one manually viaOfferSetAssociatedEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedEntities(List<OfferSetAssociatedEntity>).- Parameters:
associatedEntities- a consumer that will call methods onOfferSetAssociatedEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-