Interface Account.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Account.Builder,
,Account> SdkBuilder<Account.Builder,
,Account> SdkPojo
- Enclosing class:
Account
-
Method Summary
Modifier and TypeMethodDescriptiondefault Account.Builder
address
(Consumer<Address.Builder> address) Specifies the endCustomer
's address details associated with theOpportunity
.Specifies the endCustomer
's address details associated with theOpportunity
.awsAccountId
(String awsAccountId) Specifies theCustomer
Amazon Web Services account ID associated with theOpportunity
.companyName
(String companyName) Specifies the endCustomer
's company name associated with theOpportunity
.Indicates theCustomer
DUNS number, if available.Specifies the industry the endCustomer
belongs to that's associated with theOpportunity
.Specifies the industry the endCustomer
belongs to that's associated with theOpportunity
.otherIndustry
(String otherIndustry) Specifies the endCustomer
's industry associated with theOpportunity
, when the selected value in theIndustry
field isOther
.websiteUrl
(String websiteUrl) Specifies the end customer's company website URL associated with 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
-
address
Specifies the end
Customer
's address details associated with theOpportunity
.- Parameters:
address
- Specifies the endCustomer
's address details associated with theOpportunity
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
Specifies the end
This is a convenience method that creates an instance of theCustomer
's address details associated with theOpportunity
.Address.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddress(Address)
.- Parameters:
address
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsAccountId
Specifies the
Customer
Amazon Web Services account ID associated with theOpportunity
.- Parameters:
awsAccountId
- Specifies theCustomer
Amazon Web Services account ID associated with theOpportunity
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
companyName
Specifies the end
Customer
's company name associated with theOpportunity
.- Parameters:
companyName
- Specifies the endCustomer
's company name associated with theOpportunity
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duns
Indicates the
Customer
DUNS number, if available.- Parameters:
duns
- Indicates theCustomer
DUNS number, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
industry
Specifies the industry the end
Customer
belongs to that's associated with theOpportunity
. It refers to the category or sector where the customer's business operates. This is a required field.- Parameters:
industry
- Specifies the industry the endCustomer
belongs to that's associated with theOpportunity
. It refers to the category or sector where the customer's business operates. This is a required field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
industry
Specifies the industry the end
Customer
belongs to that's associated with theOpportunity
. It refers to the category or sector where the customer's business operates. This is a required field.- Parameters:
industry
- Specifies the industry the endCustomer
belongs to that's associated with theOpportunity
. It refers to the category or sector where the customer's business operates. This is a required field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otherIndustry
Specifies the end
Customer
's industry associated with theOpportunity
, when the selected value in theIndustry
field isOther
.- Parameters:
otherIndustry
- Specifies the endCustomer
's industry associated with theOpportunity
, when the selected value in theIndustry
field isOther
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
websiteUrl
Specifies the end customer's company website URL associated with the
Opportunity
. This value is crucial to map the customer within the Amazon Web Services CRM system. This field is required in all cases except when the opportunity is related to national security.- Parameters:
websiteUrl
- Specifies the end customer's company website URL associated with theOpportunity
. This value is crucial to map the customer within the Amazon Web Services CRM system. This field is required in all cases except when the opportunity is related to national security.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-