Interface OfferSetInformation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OfferSetInformation.Builder,,OfferSetInformation> SdkBuilder<OfferSetInformation.Builder,,OfferSetInformation> SdkPojo
- Enclosing class:
OfferSetInformation
@Mutable
@NotThreadSafe
public static interface OfferSetInformation.Builder
extends SdkPojo, CopyableBuilder<OfferSetInformation.Builder,OfferSetInformation>
-
Method Summary
Modifier and TypeMethodDescriptionofferSetId(String offerSetId) The unique identifier of the offer set.default OfferSetInformation.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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.
-
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 OfferSetInformation.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:
-