Class EmailValidationRequest
The `EmailValidationRequest` class encapsulates all the necessary information required to perform an email validation. This includes the domain to be validated, the source of the email, a random value used for validation, the email address itself, and the current state of the validation process.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The domain to be validated.private final String
The email address submitted for validation.private final EmailSource
The source of the email used for validation.private final String
The random value used for validation.private final ValidationState
The current state of the validation process. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
EmailValidationRequest
(String domain, EmailSource emailSource, String randomValue, String emailAddress, ValidationState validationState) Private constructor to prevent instantiation without using the builder. -
Method Summary
-
Field Details
-
domain
The domain to be validated.The `domain` field represents the domain part of the email address that is being validated
-
emailSource
The source of the email used for validation.The `emailSource` field indicates the origin of the email address being validated. This could be a whoIs source, constructed list, or a DNS TXT record.
-
randomValue
The random value used for validation.The `randomValue` field contains a randomly generated value that is sent to the email address as part of the validation process. This value acts as a verification code that the user must enter to confirm their ownership of the email address.
-
emailAddress
The email address submitted for validation.The `emailAddress` field holds the actual email address that is being validated.
-
validationState
The current state of the validation process.The `validationState` field represents the current status of the email validation process. .
-
-
Constructor Details
-
EmailValidationRequest
private EmailValidationRequest(String domain, EmailSource emailSource, String randomValue, String emailAddress, ValidationState validationState) Private constructor to prevent instantiation without using the builder.- Parameters:
domain
- The domain to be validated.emailSource
- The source of the email used for validation.randomValue
- The random value used for validation.emailAddress
- The email address used for validation.validationState
- The current state of the validation process.
-