Interface PutSupplementalTaxRegistrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutSupplementalTaxRegistrationRequest.Builder,
,PutSupplementalTaxRegistrationRequest> SdkBuilder<PutSupplementalTaxRegistrationRequest.Builder,
,PutSupplementalTaxRegistrationRequest> SdkPojo
,SdkRequest.Builder
,TaxSettingsRequest.Builder
- Enclosing class:
PutSupplementalTaxRegistrationRequest
@Mutable
@NotThreadSafe
public static interface PutSupplementalTaxRegistrationRequest.Builder
extends TaxSettingsRequest.Builder, SdkPojo, CopyableBuilder<PutSupplementalTaxRegistrationRequest.Builder,PutSupplementalTaxRegistrationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.taxRegistrationEntry
(Consumer<SupplementalTaxRegistrationEntry.Builder> taxRegistrationEntry) The supplemental TRN information that will be stored for the caller account ID.taxRegistrationEntry
(SupplementalTaxRegistrationEntry taxRegistrationEntry) The supplemental TRN information that will be stored for the caller account ID.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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.services.taxsettings.model.TaxSettingsRequest.Builder
build
-
Method Details
-
taxRegistrationEntry
PutSupplementalTaxRegistrationRequest.Builder taxRegistrationEntry(SupplementalTaxRegistrationEntry taxRegistrationEntry) The supplemental TRN information that will be stored for the caller account ID.
- Parameters:
taxRegistrationEntry
- The supplemental TRN information that will be stored for the caller account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrationEntry
default PutSupplementalTaxRegistrationRequest.Builder taxRegistrationEntry(Consumer<SupplementalTaxRegistrationEntry.Builder> taxRegistrationEntry) The supplemental TRN information that will be stored for the caller account ID.
This is a convenience method that creates an instance of theSupplementalTaxRegistrationEntry.Builder
avoiding the need to create one manually viaSupplementalTaxRegistrationEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaxRegistrationEntry(SupplementalTaxRegistrationEntry)
.- Parameters:
taxRegistrationEntry
- a consumer that will call methods onSupplementalTaxRegistrationEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutSupplementalTaxRegistrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutSupplementalTaxRegistrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-