Interface Participant.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Participant.Builder,,Participant> SdkBuilder<Participant.Builder,,Participant> SdkPojo
- Enclosing class:
Participant
@Mutable
@NotThreadSafe
public static interface Participant.Builder
extends SdkPojo, CopyableBuilder<Participant.Builder,Participant>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Participant.Builderaccount(Consumer<AccountSummary.Builder> account) The AWS account information for the participant.account(AccountSummary account) The AWS account information for the participant.default Participant.BuilderpartnerProfile(Consumer<PartnerProfileSummary.Builder> partnerProfile) The partner profile information for the participant.partnerProfile(PartnerProfileSummary partnerProfile) The partner profile information for the participant.default Participant.BuildersellerProfile(Consumer<SellerProfileSummary.Builder> sellerProfile) The seller profile information for the participant.sellerProfile(SellerProfileSummary sellerProfile) The seller profile information for the participant.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
-
partnerProfile
The partner profile information for the participant.
- Parameters:
partnerProfile- The partner profile information for the participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerProfile
The partner profile information for the participant.
This is a convenience method that creates an instance of thePartnerProfileSummary.Builderavoiding the need to create one manually viaPartnerProfileSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartnerProfile(PartnerProfileSummary).- Parameters:
partnerProfile- a consumer that will call methods onPartnerProfileSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sellerProfile
The seller profile information for the participant.
- Parameters:
sellerProfile- The seller profile information for the participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sellerProfile
The seller profile information for the participant.
This is a convenience method that creates an instance of theSellerProfileSummary.Builderavoiding the need to create one manually viaSellerProfileSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosellerProfile(SellerProfileSummary).- Parameters:
sellerProfile- a consumer that will call methods onSellerProfileSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
account
The AWS account information for the participant.
- Parameters:
account- The AWS account information for the participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
The AWS account information for the participant.
This is a convenience method that creates an instance of theAccountSummary.Builderavoiding the need to create one manually viaAccountSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccount(AccountSummary).- Parameters:
account- a consumer that will call methods onAccountSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-