Interface OpportunitySearchCustomer.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OpportunitySearchCustomer.Builder,,OpportunitySearchCustomer> SdkBuilder<OpportunitySearchCustomer.Builder,,OpportunitySearchCustomer> SdkPojo
- Enclosing class:
OpportunitySearchCustomer
@Mutable
@NotThreadSafe
public static interface OpportunitySearchCustomer.Builder
extends SdkPojo, CopyableBuilder<OpportunitySearchCustomer.Builder,OpportunitySearchCustomer>
-
Method Summary
Modifier and TypeMethodDescriptionaccount(Consumer<OpportunitySearchAccount.Builder> account) The end customer account details for the opportunity.account(OpportunitySearchAccount account) The end customer account details for the opportunity.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
-
account
The end customer account details for the opportunity.
- Parameters:
account- The end customer account details for the opportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
default OpportunitySearchCustomer.Builder account(Consumer<OpportunitySearchAccount.Builder> account) The end customer account details for the opportunity.
This is a convenience method that creates an instance of theOpportunitySearchAccount.Builderavoiding the need to create one manually viaOpportunitySearchAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccount(OpportunitySearchAccount).- Parameters:
account- a consumer that will call methods onOpportunitySearchAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-