Interface OpportunitySearchAccount.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OpportunitySearchAccount.Builder,,OpportunitySearchAccount> SdkBuilder<OpportunitySearchAccount.Builder,,OpportunitySearchAccount> SdkPojo
- Enclosing class:
OpportunitySearchAccount
@Mutable
@NotThreadSafe
public static interface OpportunitySearchAccount.Builder
extends SdkPojo, CopyableBuilder<OpportunitySearchAccount.Builder,OpportunitySearchAccount>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OpportunitySearchAccount.Builderaddress(Consumer<OpportunitySearchAddress.Builder> address) The end customer address details for the opportunity.address(OpportunitySearchAddress address) The end customer address details for the opportunity.awsAccountId(String awsAccountId) The end customer company's AWS account ID, if known or available.companyName(String companyName) The name of the end customer company on the opportunity.The industry of the end customer on the opportunity.The industry of the end customer on the opportunity.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 end customer company on the opportunity.
- Parameters:
companyName- The name of the end customer company on the opportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
industry
The industry of the end customer on the opportunity.
- Parameters:
industry- The industry of the end customer on the opportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
industry
The industry of the end customer on the opportunity.
- Parameters:
industry- The industry of the end customer on the opportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsAccountId
The end customer company's AWS account ID, if known or available.
- Parameters:
awsAccountId- The end customer company's AWS account ID, if known or available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
The end customer address details for the opportunity.
- Parameters:
address- The end customer address details for the opportunity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
default OpportunitySearchAccount.Builder address(Consumer<OpportunitySearchAddress.Builder> address) The end customer address details for the opportunity.
This is a convenience method that creates an instance of theOpportunitySearchAddress.Builderavoiding the need to create one manually viaOpportunitySearchAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddress(OpportunitySearchAddress).- Parameters:
address- a consumer that will call methods onOpportunitySearchAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-