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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetTaxRegistrationResponse.BuildertaxRegistration(Consumer<TaxRegistration.Builder> taxRegistration)TRN information of the account mentioned in the request.GetTaxRegistrationResponse.BuildertaxRegistration(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 Detail
-
taxRegistration
GetTaxRegistrationResponse.Builder taxRegistration(TaxRegistration 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:
taxRegistration(TaxRegistration)
-
-