Class ManagedCertificateRequest

    • Method Detail

      • validationTokenHost

        public final ValidationTokenHost validationTokenHost()

        Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.

        • For cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately.

        • For self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.

        If the service returns an enum value that is not available in the current SDK version, validationTokenHost will return ValidationTokenHost.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from validationTokenHostAsString().

        Returns:
        Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.

        • For cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately.

        • For self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.

        See Also:
        ValidationTokenHost
      • validationTokenHostAsString

        public final String validationTokenHostAsString()

        Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.

        • For cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately.

        • For self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.

        If the service returns an enum value that is not available in the current SDK version, validationTokenHost will return ValidationTokenHost.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from validationTokenHostAsString().

        Returns:
        Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.

        • For cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately.

        • For self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.

        See Also:
        ValidationTokenHost
      • primaryDomainName

        public final String primaryDomainName()

        The primary domain name associated with the CloudFront managed ACM certificate.

        Returns:
        The primary domain name associated with the CloudFront managed ACM certificate.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)