Interface AccountDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccountDetails.Builder,AccountDetails>,SdkBuilder<AccountDetails.Builder,AccountDetails>,SdkPojo
- Enclosing class:
- AccountDetails
public static interface AccountDetails.Builder extends SdkPojo, CopyableBuilder<AccountDetails.Builder,AccountDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AccountDetails.BuilderaccountId(String accountId)List of unique account identifiers.default AccountDetails.BuilderaccountMetaData(Consumer<AccountMetaData.Builder> accountMetaData)The meta data information associated with the account.AccountDetails.BuilderaccountMetaData(AccountMetaData accountMetaData)The meta data information associated with the account.default AccountDetails.BuildertaxInheritanceDetails(Consumer<TaxInheritanceDetails.Builder> taxInheritanceDetails)Tax inheritance information associated with the account.AccountDetails.BuildertaxInheritanceDetails(TaxInheritanceDetails taxInheritanceDetails)Tax inheritance information associated with the account.default AccountDetails.BuildertaxRegistration(Consumer<TaxRegistrationWithJurisdiction.Builder> taxRegistration)Your TRN information.AccountDetails.BuildertaxRegistration(TaxRegistrationWithJurisdiction taxRegistration)Your TRN information.-
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
-
accountId
AccountDetails.Builder accountId(String accountId)
List of unique account identifiers.
- Parameters:
accountId- List of unique account identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountMetaData
AccountDetails.Builder accountMetaData(AccountMetaData accountMetaData)
The meta data information associated with the account.
- Parameters:
accountMetaData- The meta data information associated with the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountMetaData
default AccountDetails.Builder accountMetaData(Consumer<AccountMetaData.Builder> accountMetaData)
The meta data information associated with the account.
This is a convenience method that creates an instance of theAccountMetaData.Builderavoiding the need to create one manually viaAccountMetaData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountMetaData(AccountMetaData).- Parameters:
accountMetaData- a consumer that will call methods onAccountMetaData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accountMetaData(AccountMetaData)
-
taxInheritanceDetails
AccountDetails.Builder taxInheritanceDetails(TaxInheritanceDetails taxInheritanceDetails)
Tax inheritance information associated with the account.
- Parameters:
taxInheritanceDetails- Tax inheritance information associated with the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxInheritanceDetails
default AccountDetails.Builder taxInheritanceDetails(Consumer<TaxInheritanceDetails.Builder> taxInheritanceDetails)
Tax inheritance information associated with the account.
This is a convenience method that creates an instance of theTaxInheritanceDetails.Builderavoiding the need to create one manually viaTaxInheritanceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaxInheritanceDetails(TaxInheritanceDetails).- Parameters:
taxInheritanceDetails- a consumer that will call methods onTaxInheritanceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
taxInheritanceDetails(TaxInheritanceDetails)
-
taxRegistration
AccountDetails.Builder taxRegistration(TaxRegistrationWithJurisdiction taxRegistration)
Your TRN information. Instead of having full legal address, here TRN information will have jurisdiction details (for example, country code and state/region/province if applicable).
- Parameters:
taxRegistration- Your TRN information. Instead of having full legal address, here TRN information will have jurisdiction details (for example, country code and state/region/province if applicable).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistration
default AccountDetails.Builder taxRegistration(Consumer<TaxRegistrationWithJurisdiction.Builder> taxRegistration)
Your TRN information. Instead of having full legal address, here TRN information will have jurisdiction details (for example, country code and state/region/province if applicable).
This is a convenience method that creates an instance of theTaxRegistrationWithJurisdiction.Builderavoiding the need to create one manually viaTaxRegistrationWithJurisdiction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaxRegistration(TaxRegistrationWithJurisdiction).- Parameters:
taxRegistration- a consumer that will call methods onTaxRegistrationWithJurisdiction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
taxRegistration(TaxRegistrationWithJurisdiction)
-
-