Interface AwsCloudFrontDistributionViewerCertificate.Builder

    • Method Detail

      • acmCertificateArn

        AwsCloudFrontDistributionViewerCertificate.Builder acmCertificateArn​(String acmCertificateArn)

        The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM certificate ARN, you must also provide MinimumCertificateVersion and SslSupportMethod.

        Parameters:
        acmCertificateArn - The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM certificate ARN, you must also provide MinimumCertificateVersion and SslSupportMethod.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificate

        AwsCloudFrontDistributionViewerCertificate.Builder certificate​(String certificate)

        The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.

        Parameters:
        certificate - The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateSource

        AwsCloudFrontDistributionViewerCertificate.Builder certificateSource​(String certificateSource)

        The source of the certificate identified by Certificate. Note that in CloudFront, this attribute is deprecated.

        Parameters:
        certificateSource - The source of the certificate identified by Certificate. Note that in CloudFront, this attribute is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cloudFrontDefaultCertificate

        AwsCloudFrontDistributionViewerCertificate.Builder cloudFrontDefaultCertificate​(Boolean cloudFrontDefaultCertificate)

        Whether the distribution uses the CloudFront domain name. If set to false, then you provide either AcmCertificateArn or IamCertificateId.

        Parameters:
        cloudFrontDefaultCertificate - Whether the distribution uses the CloudFront domain name. If set to false, then you provide either AcmCertificateArn or IamCertificateId.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iamCertificateId

        AwsCloudFrontDistributionViewerCertificate.Builder iamCertificateId​(String iamCertificateId)

        The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide IamCertificateId, then you also must provide MinimumProtocolVersion and SslSupportMethod.

        Parameters:
        iamCertificateId - The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide IamCertificateId, then you also must provide MinimumProtocolVersion and SslSupportMethod.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimumProtocolVersion

        AwsCloudFrontDistributionViewerCertificate.Builder minimumProtocolVersion​(String minimumProtocolVersion)

        The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod is sni-only, then MinimumProtocolVersion must be TLSv1 or higher.

        Parameters:
        minimumProtocolVersion - The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod is sni-only, then MinimumProtocolVersion must be TLSv1 or higher.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sslSupportMethod

        AwsCloudFrontDistributionViewerCertificate.Builder sslSupportMethod​(String sslSupportMethod)

        The viewers that the distribution accepts HTTPS connections from.

        Parameters:
        sslSupportMethod - The viewers that the distribution accepts HTTPS connections from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.