Interface Account.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Account.Builder,Account>,SdkBuilder<Account.Builder,Account>,SdkPojo
- Enclosing class:
- Account
public static interface Account.Builder extends SdkPojo, CopyableBuilder<Account.Builder,Account>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Account.Builderaddress(Consumer<Address.Builder> address)Specifies the endCustomer's address details associated with theOpportunity.Account.Builderaddress(Address address)Specifies the endCustomer's address details associated with theOpportunity.Account.BuilderawsAccountId(String awsAccountId)Specifies theCustomerAmazon Web Services account ID associated with theOpportunity.Account.BuildercompanyName(String companyName)Specifies the endCustomer's company name associated with theOpportunity.Account.Builderduns(String duns)Indicates theCustomerDUNS number, if available.Account.Builderindustry(String industry)Specifies the industry the endCustomerbelongs to that's associated with theOpportunity.Account.Builderindustry(Industry industry)Specifies the industry the endCustomerbelongs to that's associated with theOpportunity.Account.BuilderotherIndustry(String otherIndustry)Specifies the endCustomer's industry associated with theOpportunity, when the selected value in theIndustryfield isOther.Account.BuilderwebsiteUrl(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 Detail
-
address
Account.Builder address(Address 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
default Account.Builder address(Consumer<Address.Builder> address)
Specifies the end
This is a convenience method that creates an instance of theCustomer's address details associated with theOpportunity.Address.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,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:
address(Address)
-
awsAccountId
Account.Builder awsAccountId(String awsAccountId)
Specifies the
CustomerAmazon Web Services account ID associated with theOpportunity.- Parameters:
awsAccountId- Specifies theCustomerAmazon Web Services account ID associated with theOpportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
companyName
Account.Builder companyName(String 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
Account.Builder duns(String duns)
Indicates the
CustomerDUNS number, if available.- Parameters:
duns- Indicates theCustomerDUNS number, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
industry
Account.Builder industry(String industry)
Specifies the industry the end
Customerbelongs 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 endCustomerbelongs 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,Industry
-
industry
Account.Builder industry(Industry industry)
Specifies the industry the end
Customerbelongs 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 endCustomerbelongs 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,Industry
-
otherIndustry
Account.Builder otherIndustry(String otherIndustry)
Specifies the end
Customer's industry associated with theOpportunity, when the selected value in theIndustryfield isOther.- Parameters:
otherIndustry- Specifies the endCustomer's industry associated with theOpportunity, when the selected value in theIndustryfield isOther.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
websiteUrl
Account.Builder websiteUrl(String 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.
-
-