Interface AwsCloudFrontDistributionViewerCertificate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,,AwsCloudFrontDistributionViewerCertificate> SdkBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,,AwsCloudFrontDistributionViewerCertificate> SdkPojo
- Enclosing class:
AwsCloudFrontDistributionViewerCertificate
-
Method Summary
Modifier and TypeMethodDescriptionacmCertificateArn(String acmCertificateArn) The ARN of the ACM certificate.certificate(String certificate) The identifier of the certificate.certificateSource(String certificateSource) The source of the certificate identified byCertificate.cloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate) Whether the distribution uses the CloudFront domain name.iamCertificateId(String iamCertificateId) The identifier of the IAM certificate.minimumProtocolVersion(String minimumProtocolVersion) The security policy that CloudFront uses for HTTPS connections with viewers.sslSupportMethod(String sslSupportMethod) The viewers that the distribution accepts HTTPS connections from.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, sdkFields
-
Method Details
-
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
MinimumCertificateVersionandSslSupportMethod.- 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 provideMinimumCertificateVersionandSslSupportMethod.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The source of the certificate identified by
Certificate. Note that in CloudFront, this attribute is deprecated.- Parameters:
certificateSource- The source of the certificate identified byCertificate. 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 eitherAcmCertificateArnorIamCertificateId.- Parameters:
cloudFrontDefaultCertificate- Whether the distribution uses the CloudFront domain name. If set tofalse, then you provide eitherAcmCertificateArnorIamCertificateId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamCertificateId
The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId, then you also must provideMinimumProtocolVersionandSslSupportMethod.- Parameters:
iamCertificateId- The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provideIamCertificateId, then you also must provideMinimumProtocolVersionandSslSupportMethod.- 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
SslSupportMethodissni-only, thenMinimumProtocolVersionmust beTLSv1or higher.- Parameters:
minimumProtocolVersion- The security policy that CloudFront uses for HTTPS connections with viewers. IfSslSupportMethodissni-only, thenMinimumProtocolVersionmust beTLSv1or higher.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-