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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
MinimumCertificateVersion
andSslSupportMethod
.- 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 provideMinimumCertificateVersion
andSslSupportMethod
.- 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 eitherAcmCertificateArn
orIamCertificateId
.- Parameters:
cloudFrontDefaultCertificate
- Whether the distribution uses the CloudFront domain name. If set tofalse
, then you provide eitherAcmCertificateArn
orIamCertificateId
.- 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 provideMinimumProtocolVersion
andSslSupportMethod
.- Parameters:
iamCertificateId
- The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provideIamCertificateId
, then you also must provideMinimumProtocolVersion
andSslSupportMethod
.- 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
issni-only
, thenMinimumProtocolVersion
must beTLSv1
or higher.- Parameters:
minimumProtocolVersion
- The security policy that CloudFront uses for HTTPS connections with viewers. IfSslSupportMethod
issni-only
, thenMinimumProtocolVersion
must beTLSv1
or 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.
-