Interface ListTaxRegistrationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTaxRegistrationsResponse.Builder,
,ListTaxRegistrationsResponse> SdkBuilder<ListTaxRegistrationsResponse.Builder,
,ListTaxRegistrationsResponse> SdkPojo
,SdkResponse.Builder
,TaxSettingsResponse.Builder
- Enclosing class:
ListTaxRegistrationsResponse
@Mutable
@NotThreadSafe
public static interface ListTaxRegistrationsResponse.Builder
extends TaxSettingsResponse.Builder, SdkPojo, CopyableBuilder<ListTaxRegistrationsResponse.Builder,ListTaxRegistrationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountDetails
(Collection<AccountDetails> accountDetails) The list of account details.accountDetails
(Consumer<AccountDetails.Builder>... accountDetails) The list of account details.accountDetails
(AccountDetails... accountDetails) The list of account details.The token to retrieve the next set of results.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.taxsettings.model.TaxSettingsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
accountDetails
The list of account details. This contains account Ids and TRN Information for each of the linked accounts.
- Parameters:
accountDetails
- The list of account details. This contains account Ids and TRN Information for each of the linked accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountDetails
The list of account details. This contains account Ids and TRN Information for each of the linked accounts.
- Parameters:
accountDetails
- The list of account details. This contains account Ids and TRN Information for each of the linked accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountDetails
ListTaxRegistrationsResponse.Builder accountDetails(Consumer<AccountDetails.Builder>... accountDetails) The list of account details. This contains account Ids and TRN Information for each of the linked accounts.
This is a convenience method that creates an instance of theAccountDetails.Builder
avoiding the need to create one manually viaAccountDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountDetails(List<AccountDetails>)
.- Parameters:
accountDetails
- a consumer that will call methods onAccountDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next set of results.
- Parameters:
nextToken
- The token to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-