Interface CustomerAccountData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomerAccountData.Builder,,CustomerAccountData> SdkBuilder<CustomerAccountData.Builder,,CustomerAccountData> SdkPojo
- Enclosing class:
CustomerAccountData
@Mutable
@NotThreadSafe
public static interface CustomerAccountData.Builder
extends SdkPojo, CopyableBuilder<CustomerAccountData.Builder,CustomerAccountData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomerAccountData.Builderaddress(Consumer<Address.Builder> address) The address of the customer company.The address of the customer company.companyName(String companyName) The name of the customer company.The internet domain of the customer company, such asexample.com.The Data Universal Numbering System (DUNS) number of the customer company.The industry of the customer company.otherIndustry(String otherIndustry) A description of the industry, used when the industry isOther.parentCompanyName(String parentCompanyName) The name of the parent company of the customer company, if any.websiteUrl(String websiteUrl) The website URL of the customer company.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
companyName
The name of the customer company.
- Parameters:
companyName- The name of the customer company.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
websiteUrl
The website URL of the customer company.
- Parameters:
websiteUrl- The website URL of the customer company.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duns
The Data Universal Numbering System (DUNS) number of the customer company.
- Parameters:
duns- The Data Universal Numbering System (DUNS) number of the customer company.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
The address of the customer company.
- Parameters:
address- The address of the customer company.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
The address of the customer company.
This is a convenience method that creates an instance of theAddress.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:
-
industry
The industry of the customer company.
- Parameters:
industry- The industry of the customer company.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otherIndustry
A description of the industry, used when the industry is
Other.- Parameters:
otherIndustry- A description of the industry, used when the industry isOther.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
The internet domain of the customer company, such as
example.com.- Parameters:
domain- The internet domain of the customer company, such asexample.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentCompanyName
The name of the parent company of the customer company, if any.
- Parameters:
parentCompanyName- The name of the parent company of the customer company, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-