Interface GetTaxRegistrationDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetTaxRegistrationDocumentRequest.Builder,
,GetTaxRegistrationDocumentRequest> SdkBuilder<GetTaxRegistrationDocumentRequest.Builder,
,GetTaxRegistrationDocumentRequest> SdkPojo
,SdkRequest.Builder
,TaxSettingsRequest.Builder
- Enclosing class:
GetTaxRegistrationDocumentRequest
@Mutable
@NotThreadSafe
public static interface GetTaxRegistrationDocumentRequest.Builder
extends TaxSettingsRequest.Builder, SdkPojo, CopyableBuilder<GetTaxRegistrationDocumentRequest.Builder,GetTaxRegistrationDocumentRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationS3Location
(Consumer<DestinationS3Location.Builder> destinationS3Location) The Amazon S3 bucket that you specify to download your tax documents to.destinationS3Location
(DestinationS3Location destinationS3Location) The Amazon S3 bucket that you specify to download your tax documents to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.taxDocumentMetadata
(Consumer<TaxDocumentMetadata.Builder> taxDocumentMetadata) The metadata for your tax document.taxDocumentMetadata
(TaxDocumentMetadata taxDocumentMetadata) The metadata for your tax document.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
-
destinationS3Location
GetTaxRegistrationDocumentRequest.Builder destinationS3Location(DestinationS3Location destinationS3Location) The Amazon S3 bucket that you specify to download your tax documents to.
- Parameters:
destinationS3Location
- The Amazon S3 bucket that you specify to download your tax documents to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationS3Location
default GetTaxRegistrationDocumentRequest.Builder destinationS3Location(Consumer<DestinationS3Location.Builder> destinationS3Location) The Amazon S3 bucket that you specify to download your tax documents to.
This is a convenience method that creates an instance of theDestinationS3Location.Builder
avoiding the need to create one manually viaDestinationS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationS3Location(DestinationS3Location)
.- Parameters:
destinationS3Location
- a consumer that will call methods onDestinationS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taxDocumentMetadata
GetTaxRegistrationDocumentRequest.Builder taxDocumentMetadata(TaxDocumentMetadata taxDocumentMetadata) The metadata for your tax document.
- Parameters:
taxDocumentMetadata
- The metadata for your tax document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxDocumentMetadata
default GetTaxRegistrationDocumentRequest.Builder taxDocumentMetadata(Consumer<TaxDocumentMetadata.Builder> taxDocumentMetadata) The metadata for your tax document.
This is a convenience method that creates an instance of theTaxDocumentMetadata.Builder
avoiding the need to create one manually viaTaxDocumentMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaxDocumentMetadata(TaxDocumentMetadata)
.- Parameters:
taxDocumentMetadata
- a consumer that will call methods onTaxDocumentMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetTaxRegistrationDocumentRequest.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
GetTaxRegistrationDocumentRequest.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.
-