Interface ListSupplementalTaxRegistrationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSupplementalTaxRegistrationsResponse.Builder,
,ListSupplementalTaxRegistrationsResponse> SdkBuilder<ListSupplementalTaxRegistrationsResponse.Builder,
,ListSupplementalTaxRegistrationsResponse> SdkPojo
,SdkResponse.Builder
,TaxSettingsResponse.Builder
- Enclosing class:
ListSupplementalTaxRegistrationsResponse
@Mutable
@NotThreadSafe
public static interface ListSupplementalTaxRegistrationsResponse.Builder
extends TaxSettingsResponse.Builder, SdkPojo, CopyableBuilder<ListSupplementalTaxRegistrationsResponse.Builder,ListSupplementalTaxRegistrationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to retrieve the next set of results.taxRegistrations
(Collection<SupplementalTaxRegistration> taxRegistrations) The list of supplemental tax registrations.taxRegistrations
(Consumer<SupplementalTaxRegistration.Builder>... taxRegistrations) The list of supplemental tax registrations.taxRegistrations
(SupplementalTaxRegistration... taxRegistrations) The list of supplemental tax registrations.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
-
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.
-
taxRegistrations
ListSupplementalTaxRegistrationsResponse.Builder taxRegistrations(Collection<SupplementalTaxRegistration> taxRegistrations) The list of supplemental tax registrations.
- Parameters:
taxRegistrations
- The list of supplemental tax registrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrations
ListSupplementalTaxRegistrationsResponse.Builder taxRegistrations(SupplementalTaxRegistration... taxRegistrations) The list of supplemental tax registrations.
- Parameters:
taxRegistrations
- The list of supplemental tax registrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrations
ListSupplementalTaxRegistrationsResponse.Builder taxRegistrations(Consumer<SupplementalTaxRegistration.Builder>... taxRegistrations) The list of supplemental tax registrations.
This is a convenience method that creates an instance of theSupplementalTaxRegistration.Builder
avoiding the need to create one manually viaSupplementalTaxRegistration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaxRegistrations(List<SupplementalTaxRegistration>)
.- Parameters:
taxRegistrations
- a consumer that will call methods onSupplementalTaxRegistration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-