Interface ValidationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationConfiguration.Builder,,ValidationConfiguration> SdkBuilder<ValidationConfiguration.Builder,,ValidationConfiguration> SdkPojo
- Enclosing class:
ValidationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ValidationConfiguration.BuildervalidationChallenge(Consumer<ValidationChallenge.Builder> validationChallenge) The validation challenge details for this configuration.validationChallenge(ValidationChallenge validationChallenge) The validation challenge details for this configuration.validationMethod(String validationMethod) The validation method for this configuration.validationMethod(ValidationMethod validationMethod) The validation method for this configuration.validationStatus(String validationStatus) The validation status for this domain.validationStatus(DomainStatus validationStatus) The validation status for this domain.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
-
validationMethod
The validation method for this configuration. Valid values:
-
DNS– Validation using a CNAME record added to your DNS configuration. -
EMAIL– Validation using an approval email sent to domain contacts. -
HTTP– Validation using an HTTP resource placed on your web server.
- Parameters:
validationMethod- The validation method for this configuration. Valid values:-
DNS– Validation using a CNAME record added to your DNS configuration. -
EMAIL– Validation using an approval email sent to domain contacts. -
HTTP– Validation using an HTTP resource placed on your web server.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
validationMethod
The validation method for this configuration. Valid values:
-
DNS– Validation using a CNAME record added to your DNS configuration. -
EMAIL– Validation using an approval email sent to domain contacts. -
HTTP– Validation using an HTTP resource placed on your web server.
- Parameters:
validationMethod- The validation method for this configuration. Valid values:-
DNS– Validation using a CNAME record added to your DNS configuration. -
EMAIL– Validation using an approval email sent to domain contacts. -
HTTP– Validation using an HTTP resource placed on your web server.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
validationChallenge
The validation challenge details for this configuration. The structure varies by validation method: for DNS validation, contains a
DnsValidationChallengewith the CNAME record to add; for email validation, contains anEmailValidationChallengewith the validation email addresses.- Parameters:
validationChallenge- The validation challenge details for this configuration. The structure varies by validation method: for DNS validation, contains aDnsValidationChallengewith the CNAME record to add; for email validation, contains anEmailValidationChallengewith the validation email addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationChallenge
default ValidationConfiguration.Builder validationChallenge(Consumer<ValidationChallenge.Builder> validationChallenge) The validation challenge details for this configuration. The structure varies by validation method: for DNS validation, contains a
This is a convenience method that creates an instance of theDnsValidationChallengewith the CNAME record to add; for email validation, contains anEmailValidationChallengewith the validation email addresses.ValidationChallenge.Builderavoiding the need to create one manually viaValidationChallenge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidationChallenge(ValidationChallenge).- Parameters:
validationChallenge- a consumer that will call methods onValidationChallenge.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationStatus
The validation status for this domain. Valid values:
-
PENDING_VALIDATION– The domain is waiting for validation to complete. -
SUCCESS– Validation completed successfully. -
FAILED– Validation failed.
- Parameters:
validationStatus- The validation status for this domain. Valid values:-
PENDING_VALIDATION– The domain is waiting for validation to complete. -
SUCCESS– Validation completed successfully. -
FAILED– Validation failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
validationStatus
The validation status for this domain. Valid values:
-
PENDING_VALIDATION– The domain is waiting for validation to complete. -
SUCCESS– Validation completed successfully. -
FAILED– Validation failed.
- Parameters:
validationStatus- The validation status for this domain. Valid values:-
PENDING_VALIDATION– The domain is waiting for validation to complete. -
SUCCESS– Validation completed successfully. -
FAILED– Validation failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-