Interface PutTaxRegistrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutTaxRegistrationRequest.Builder,,PutTaxRegistrationRequest> SdkBuilder<PutTaxRegistrationRequest.Builder,,PutTaxRegistrationRequest> SdkPojo,SdkRequest.Builder,TaxSettingsRequest.Builder
- Enclosing class:
PutTaxRegistrationRequest
public static interface PutTaxRegistrationRequest.Builder
extends TaxSettingsRequest.Builder, SdkPojo, CopyableBuilder<PutTaxRegistrationRequest.Builder,PutTaxRegistrationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionYour unique account identifier.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.taxRegistrationEntry(Consumer<TaxRegistrationEntry.Builder> taxRegistrationEntry) Your TRN information that will be stored to the account mentioned inaccountId.taxRegistrationEntry(TaxRegistrationEntry taxRegistrationEntry) Your TRN information that will be stored to the account mentioned inaccountId.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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.services.taxsettings.model.TaxSettingsRequest.Builder
build
-
Method Details
-
accountId
Your unique account identifier.
- Parameters:
accountId- Your unique account identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrationEntry
Your TRN information that will be stored to the account mentioned in
accountId.- Parameters:
taxRegistrationEntry- Your TRN information that will be stored to the account mentioned inaccountId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrationEntry
default PutTaxRegistrationRequest.Builder taxRegistrationEntry(Consumer<TaxRegistrationEntry.Builder> taxRegistrationEntry) Your TRN information that will be stored to the account mentioned in
This is a convenience method that creates an instance of theaccountId.TaxRegistrationEntry.Builderavoiding the need to create one manually viaTaxRegistrationEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaxRegistrationEntry(TaxRegistrationEntry).- Parameters:
taxRegistrationEntry- a consumer that will call methods onTaxRegistrationEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutTaxRegistrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutTaxRegistrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-