Interface TaxRegistrationDocument.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TaxRegistrationDocument.Builder,
,TaxRegistrationDocument> SdkBuilder<TaxRegistrationDocument.Builder,
,TaxRegistrationDocument> SdkPojo
- Enclosing class:
TaxRegistrationDocument
@Mutable
@NotThreadSafe
public static interface TaxRegistrationDocument.Builder
extends SdkPojo, CopyableBuilder<TaxRegistrationDocument.Builder,TaxRegistrationDocument>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TaxRegistrationDocument.Builder
The tax registration document.file
(TaxRegistrationDocFile file) The tax registration document.default TaxRegistrationDocument.Builder
s3Location
(Consumer<SourceS3Location.Builder> s3Location) The Amazon S3 location where your tax registration document is stored.s3Location
(SourceS3Location s3Location) The Amazon S3 location where your tax registration document is stored.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
-
Method Details
-
file
The tax registration document.
- Parameters:
file
- The tax registration document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
file
The tax registration document.
This is a convenience method that creates an instance of theTaxRegistrationDocFile.Builder
avoiding the need to create one manually viaTaxRegistrationDocFile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofile(TaxRegistrationDocFile)
.- Parameters:
file
- a consumer that will call methods onTaxRegistrationDocFile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Location
The Amazon S3 location where your tax registration document is stored.
- Parameters:
s3Location
- The Amazon S3 location where your tax registration document is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
The Amazon S3 location where your tax registration document is stored.
This is a convenience method that creates an instance of theSourceS3Location.Builder
avoiding the need to create one manually viaSourceS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Location(SourceS3Location)
.- Parameters:
s3Location
- a consumer that will call methods onSourceS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-