Interface GetTaxRegistrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTaxRegistrationResponse.Builder,
,GetTaxRegistrationResponse> SdkBuilder<GetTaxRegistrationResponse.Builder,
,GetTaxRegistrationResponse> SdkPojo
,SdkResponse.Builder
,TaxSettingsResponse.Builder
- Enclosing class:
GetTaxRegistrationResponse
@Mutable
@NotThreadSafe
public static interface GetTaxRegistrationResponse.Builder
extends TaxSettingsResponse.Builder, SdkPojo, CopyableBuilder<GetTaxRegistrationResponse.Builder,GetTaxRegistrationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontaxRegistration
(Consumer<TaxRegistration.Builder> taxRegistration) TRN information of the account mentioned in the request.taxRegistration
(TaxRegistration taxRegistration) TRN information of the account mentioned in the request.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
-
taxRegistration
TRN information of the account mentioned in the request.
- Parameters:
taxRegistration
- TRN information of the account mentioned in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistration
default GetTaxRegistrationResponse.Builder taxRegistration(Consumer<TaxRegistration.Builder> taxRegistration) TRN information of the account mentioned in the request.
This is a convenience method that creates an instance of theTaxRegistration.Builder
avoiding the need to create one manually viaTaxRegistration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaxRegistration(TaxRegistration)
.- Parameters:
taxRegistration
- a consumer that will call methods onTaxRegistration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-