Interface ManagedCertificateDetails.Builder

  • Method Details

    • certificateArn

      ManagedCertificateDetails.Builder certificateArn(String certificateArn)

      The ARN of the CloudFront managed ACM certificate.

      Parameters:
      certificateArn - The ARN of the CloudFront managed ACM certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateStatus

      ManagedCertificateDetails.Builder certificateStatus(String certificateStatus)

      The status of the CloudFront managed ACM certificate.

      Your distribution tenant will be updated with the latest certificate status. When calling the UpdateDistributionTenant operation, use the latest value for the ETag.

      Parameters:
      certificateStatus - The status of the CloudFront managed ACM certificate.

      Your distribution tenant will be updated with the latest certificate status. When calling the UpdateDistributionTenant operation, use the latest value for the ETag.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificateStatus

      ManagedCertificateDetails.Builder certificateStatus(ManagedCertificateStatus certificateStatus)

      The status of the CloudFront managed ACM certificate.

      Your distribution tenant will be updated with the latest certificate status. When calling the UpdateDistributionTenant operation, use the latest value for the ETag.

      Parameters:
      certificateStatus - The status of the CloudFront managed ACM certificate.

      Your distribution tenant will be updated with the latest certificate status. When calling the UpdateDistributionTenant operation, use the latest value for the ETag.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • validationTokenHost

      ManagedCertificateDetails.Builder validationTokenHost(String validationTokenHost)

      Contains details about the validation token host of the specified 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.

      This setting only affects the initial certificate request. Once the DNS points to CloudFront, all future certificate renewals are automatically handled through CloudFront.

      Parameters:
      validationTokenHost - Contains details about the validation token host of the specified 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.

      This setting only affects the initial certificate request. Once the DNS points to CloudFront, all future certificate renewals are automatically handled through CloudFront.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • validationTokenHost

      ManagedCertificateDetails.Builder validationTokenHost(ValidationTokenHost validationTokenHost)

      Contains details about the validation token host of the specified 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.

      This setting only affects the initial certificate request. Once the DNS points to CloudFront, all future certificate renewals are automatically handled through CloudFront.

      Parameters:
      validationTokenHost - Contains details about the validation token host of the specified 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.

      This setting only affects the initial certificate request. Once the DNS points to CloudFront, all future certificate renewals are automatically handled through CloudFront.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • validationTokenDetails

      ManagedCertificateDetails.Builder validationTokenDetails(Collection<ValidationTokenDetail> validationTokenDetails)

      Contains details about the validation token of the specified CloudFront managed ACM certificate.

      Parameters:
      validationTokenDetails - Contains details about the validation token of the specified CloudFront managed ACM certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationTokenDetails

      ManagedCertificateDetails.Builder validationTokenDetails(ValidationTokenDetail... validationTokenDetails)

      Contains details about the validation token of the specified CloudFront managed ACM certificate.

      Parameters:
      validationTokenDetails - Contains details about the validation token of the specified CloudFront managed ACM certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationTokenDetails

      ManagedCertificateDetails.Builder validationTokenDetails(Consumer<ValidationTokenDetail.Builder>... validationTokenDetails)

      Contains details about the validation token of the specified CloudFront managed ACM certificate.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validationTokenDetails(List<ValidationTokenDetail>).

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