Interface VerificationDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VerificationDetails.Builder,
,VerificationDetails> SdkBuilder<VerificationDetails.Builder,
,VerificationDetails> SdkPojo
- Enclosing class:
VerificationDetails
@Mutable
@NotThreadSafe
public static interface VerificationDetails.Builder
extends SdkPojo, CopyableBuilder<VerificationDetails.Builder,VerificationDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondateOfBirth
(String dateOfBirth) Date of birth to verify your submitted TRN.taxRegistrationDocuments
(Collection<TaxRegistrationDocument> taxRegistrationDocuments) The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.taxRegistrationDocuments
(Consumer<TaxRegistrationDocument.Builder>... taxRegistrationDocuments) The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.taxRegistrationDocuments
(TaxRegistrationDocument... taxRegistrationDocuments) The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.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
-
dateOfBirth
Date of birth to verify your submitted TRN. Use the
YYYY-MM-DD
format.- Parameters:
dateOfBirth
- Date of birth to verify your submitted TRN. Use theYYYY-MM-DD
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrationDocuments
VerificationDetails.Builder taxRegistrationDocuments(Collection<TaxRegistrationDocument> taxRegistrationDocuments) The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.
- Parameters:
taxRegistrationDocuments
- The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrationDocuments
VerificationDetails.Builder taxRegistrationDocuments(TaxRegistrationDocument... taxRegistrationDocuments) The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.
- Parameters:
taxRegistrationDocuments
- The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrationDocuments
VerificationDetails.Builder taxRegistrationDocuments(Consumer<TaxRegistrationDocument.Builder>... taxRegistrationDocuments) The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.
This is a convenience method that creates an instance of theTaxRegistrationDocument.Builder
avoiding the need to create one manually viaTaxRegistrationDocument.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaxRegistrationDocuments(List<TaxRegistrationDocument>)
.- Parameters:
taxRegistrationDocuments
- a consumer that will call methods onTaxRegistrationDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-