Interface AwsOpportunityCustomer.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsOpportunityCustomer.Builder,
,AwsOpportunityCustomer> SdkBuilder<AwsOpportunityCustomer.Builder,
,AwsOpportunityCustomer> SdkPojo
- Enclosing class:
AwsOpportunityCustomer
@Mutable
@NotThreadSafe
public static interface AwsOpportunityCustomer.Builder
extends SdkPojo, CopyableBuilder<AwsOpportunityCustomer.Builder,AwsOpportunityCustomer>
-
Method Summary
Modifier and TypeMethodDescriptioncontacts
(Collection<Contact> contacts) Provides a list of customer contacts involved in the opportunity.contacts
(Consumer<Contact.Builder>... contacts) Provides a list of customer contacts involved in the opportunity.Provides a list of customer contacts involved in the opportunity.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
-
contacts
Provides a list of customer contacts involved in the opportunity. These contacts may include decision makers, influencers, and other stakeholders within the customer's organization.
- Parameters:
contacts
- Provides a list of customer contacts involved in the opportunity. These contacts may include decision makers, influencers, and other stakeholders within the customer's organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
Provides a list of customer contacts involved in the opportunity. These contacts may include decision makers, influencers, and other stakeholders within the customer's organization.
- Parameters:
contacts
- Provides a list of customer contacts involved in the opportunity. These contacts may include decision makers, influencers, and other stakeholders within the customer's organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
Provides a list of customer contacts involved in the opportunity. These contacts may include decision makers, influencers, and other stakeholders within the customer's organization.
This is a convenience method that creates an instance of theContact.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:
-