Interface ListTaxRegistrationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTaxRegistrationsResponse.Builder,ListTaxRegistrationsResponse>,SdkBuilder<ListTaxRegistrationsResponse.Builder,ListTaxRegistrationsResponse>,SdkPojo,SdkResponse.Builder,TaxSettingsResponse.Builder
- Enclosing class:
- ListTaxRegistrationsResponse
public static interface ListTaxRegistrationsResponse.Builder extends TaxSettingsResponse.Builder, SdkPojo, CopyableBuilder<ListTaxRegistrationsResponse.Builder,ListTaxRegistrationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTaxRegistrationsResponse.BuilderaccountDetails(Collection<AccountDetails> accountDetails)The list of account details.ListTaxRegistrationsResponse.BuilderaccountDetails(Consumer<AccountDetails.Builder>... accountDetails)The list of account details.ListTaxRegistrationsResponse.BuilderaccountDetails(AccountDetails... accountDetails)The list of account details.ListTaxRegistrationsResponse.BuildernextToken(String nextToken)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 Detail
-
accountDetails
ListTaxRegistrationsResponse.Builder accountDetails(Collection<AccountDetails> 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(AccountDetails... 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.Builderavoiding the need to create one manually viaAccountDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accountDetails(List.) - 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:
#accountDetails(java.util.Collection)
-
nextToken
ListTaxRegistrationsResponse.Builder nextToken(String 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.
-
-