Interface BatchPutTaxRegistrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchPutTaxRegistrationRequest.Builder,
,BatchPutTaxRegistrationRequest> SdkBuilder<BatchPutTaxRegistrationRequest.Builder,
,BatchPutTaxRegistrationRequest> SdkPojo
,SdkRequest.Builder
,TaxSettingsRequest.Builder
- Enclosing class:
BatchPutTaxRegistrationRequest
@Mutable
@NotThreadSafe
public static interface BatchPutTaxRegistrationRequest.Builder
extends TaxSettingsRequest.Builder, SdkPojo, CopyableBuilder<BatchPutTaxRegistrationRequest.Builder,BatchPutTaxRegistrationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(String... accountIds) List of unique account identifiers.accountIds
(Collection<String> accountIds) List of unique account identifiers.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 accounts mentioned inputEntries
.taxRegistrationEntry
(TaxRegistrationEntry taxRegistrationEntry) Your TRN information that will be stored to the accounts mentioned inputEntries
.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
-
accountIds
List of unique account identifiers.
- Parameters:
accountIds
- List of unique account identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
List of unique account identifiers.
- Parameters:
accountIds
- List of unique account identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrationEntry
BatchPutTaxRegistrationRequest.Builder taxRegistrationEntry(TaxRegistrationEntry taxRegistrationEntry) Your TRN information that will be stored to the accounts mentioned in
putEntries
.- Parameters:
taxRegistrationEntry
- Your TRN information that will be stored to the accounts mentioned inputEntries
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrationEntry
default BatchPutTaxRegistrationRequest.Builder taxRegistrationEntry(Consumer<TaxRegistrationEntry.Builder> taxRegistrationEntry) Your TRN information that will be stored to the accounts mentioned in
This is a convenience method that creates an instance of theputEntries
.TaxRegistrationEntry.Builder
avoiding the need to create one manually viaTaxRegistrationEntry.builder()
.When the
Consumer
completes,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
BatchPutTaxRegistrationRequest.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
BatchPutTaxRegistrationRequest.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.
-