Interface GetTaxRegistrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTaxRegistrationResponse.Builder,,GetTaxRegistrationResponse> SdkBuilder<GetTaxRegistrationResponse.Builder,,GetTaxRegistrationResponse> SdkPojo,SdkResponse.Builder,TaxSettingsResponse.Builder
- Enclosing class:
GetTaxRegistrationResponse
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaTaxRegistration.builder().When the
Consumercompletes,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:
-