Interface Customer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Customer.Builder,Customer>,SdkBuilder<Customer.Builder,Customer>,SdkPojo
- Enclosing class:
- Customer
public static interface Customer.Builder extends SdkPojo, CopyableBuilder<Customer.Builder,Customer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Customer.Builderaccount(Consumer<Account.Builder> account)An object that contains the customer's account details.Customer.Builderaccount(Account account)An object that contains the customer's account details.Customer.Buildercontacts(Collection<Contact> contacts)Represents the contact details for individuals associated with the customer of theOpportunity.Customer.Buildercontacts(Consumer<Contact.Builder>... contacts)Represents the contact details for individuals associated with the customer of theOpportunity.Customer.Buildercontacts(Contact... contacts)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 Detail
-
account
Customer.Builder account(Account 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
default Customer.Builder account(Consumer<Account.Builder> account)
An object that contains the customer's account details.
This is a convenience method that creates an instance of theAccount.Builderavoiding the need to create one manually viaAccount.builder().When the
Consumercompletes,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:
account(Account)
-
contacts
Customer.Builder contacts(Collection<Contact> 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
Customer.Builder contacts(Contact... 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
Customer.Builder contacts(Consumer<Contact.Builder>... 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.Builderavoiding the need to create one manually viaContact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contacts(List.) - 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:
#contacts(java.util.Collection)
-
-