Interface VerificationDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VerificationDetails.Builder,,VerificationDetails> SdkBuilder<VerificationDetails.Builder,,VerificationDetails> SdkPojo
- Enclosing class:
VerificationDetails
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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-DDformat.- Parameters:
dateOfBirth- Date of birth to verify your submitted TRN. Use theYYYY-MM-DDformat.- 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.Builderavoiding the need to create one manually viaTaxRegistrationDocument.builder().When the
Consumercompletes,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:
-