Interface Customer.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Customer.Builder,
,Customer> SdkBuilder<Customer.Builder,
,Customer> SdkPojo
- Enclosing class:
Customer
-
Method Summary
Modifier and TypeMethodDescriptiondefault Customer.Builder
account
(Consumer<Account.Builder> account) An object that contains the customer's account details.An object that contains the customer's account details.contacts
(Collection<Contact> contacts) Represents the contact details for individuals associated with the customer of theOpportunity
.contacts
(Consumer<Contact.Builder>... contacts) Represents the contact details for individuals associated with the customer of theOpportunity
.Represents the contact details for individuals associated with the customer of theOpportunity
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
account
An object that contains the customer's account details.
- Parameters:
account
- An object that contains the customer's account details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
An object that contains the customer's account details.
This is a convenience method that creates an instance of theAccount.Builder
avoiding the need to create one manually viaAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccount(Account)
.- Parameters:
account
- a consumer that will call methods onAccount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contacts
Represents the contact details for individuals associated with the customer of the
Opportunity
. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.- Parameters:
contacts
- Represents the contact details for individuals associated with the customer of theOpportunity
. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
Represents the contact details for individuals associated with the customer of the
Opportunity
. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.- Parameters:
contacts
- Represents the contact details for individuals associated with the customer of theOpportunity
. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
Represents the contact details for individuals associated with the customer of the
This is a convenience method that creates an instance of theOpportunity
. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.Contact.Builder
avoiding the need to create one manually viaContact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontacts(List<Contact>)
.- Parameters:
contacts
- a consumer that will call methods onContact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-