Interface GetTaxRegistrationDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetTaxRegistrationDocumentRequest.Builder,,GetTaxRegistrationDocumentRequest> SdkBuilder<GetTaxRegistrationDocumentRequest.Builder,,GetTaxRegistrationDocumentRequest> SdkPojo,SdkRequest.Builder,TaxSettingsRequest.Builder
- Enclosing class:
GetTaxRegistrationDocumentRequest
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
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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaDestinationS3Location.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTaxDocumentMetadata.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-