Interface ListSupplementalTaxRegistrationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSupplementalTaxRegistrationsResponse.Builder,ListSupplementalTaxRegistrationsResponse>,SdkBuilder<ListSupplementalTaxRegistrationsResponse.Builder,ListSupplementalTaxRegistrationsResponse>,SdkPojo,SdkResponse.Builder,TaxSettingsResponse.Builder
- Enclosing class:
- ListSupplementalTaxRegistrationsResponse
public static interface ListSupplementalTaxRegistrationsResponse.Builder extends TaxSettingsResponse.Builder, SdkPojo, CopyableBuilder<ListSupplementalTaxRegistrationsResponse.Builder,ListSupplementalTaxRegistrationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSupplementalTaxRegistrationsResponse.BuildernextToken(String nextToken)The token to retrieve the next set of results.ListSupplementalTaxRegistrationsResponse.BuildertaxRegistrations(Collection<SupplementalTaxRegistration> taxRegistrations)The list of supplemental tax registrations.ListSupplementalTaxRegistrationsResponse.BuildertaxRegistrations(Consumer<SupplementalTaxRegistration.Builder>... taxRegistrations)The list of supplemental tax registrations.ListSupplementalTaxRegistrationsResponse.BuildertaxRegistrations(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 Detail
-
nextToken
ListSupplementalTaxRegistrationsResponse.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.
-
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.Builderavoiding the need to create one manually viaSupplementalTaxRegistration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#taxRegistrations(List.) - 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:
#taxRegistrations(java.util.Collection)
-
-