Interface ValidationConfiguration.Builder

  • Method Details

    • validationMethod

      ValidationConfiguration.Builder validationMethod(String 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

      ValidationConfiguration.Builder validationMethod(ValidationMethod 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

      ValidationConfiguration.Builder validationChallenge(ValidationChallenge validationChallenge)

      The validation challenge details for this configuration. The structure varies by validation method: for DNS validation, contains a DnsValidationChallenge with the CNAME record to add; for email validation, contains an EmailValidationChallenge with the validation email addresses.

      Parameters:
      validationChallenge - The validation challenge details for this configuration. The structure varies by validation method: for DNS validation, contains a DnsValidationChallenge with the CNAME record to add; for email validation, contains an EmailValidationChallenge with 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 DnsValidationChallenge with the CNAME record to add; for email validation, contains an EmailValidationChallenge with the validation email addresses.

      This is a convenience method that creates an instance of the ValidationChallenge.Builder avoiding the need to create one manually via ValidationChallenge.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validationChallenge(ValidationChallenge).

      Parameters:
      validationChallenge - a consumer that will call methods on ValidationChallenge.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • validationStatus

      ValidationConfiguration.Builder validationStatus(String 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

      ValidationConfiguration.Builder validationStatus(DomainStatus 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: