Interface AwsCloudFrontDistributionViewerCertificate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,AwsCloudFrontDistributionViewerCertificate>,SdkBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,AwsCloudFrontDistributionViewerCertificate>,SdkPojo
- Enclosing class:
- AwsCloudFrontDistributionViewerCertificate
public static interface AwsCloudFrontDistributionViewerCertificate.Builder extends SdkPojo, CopyableBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,AwsCloudFrontDistributionViewerCertificate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsCloudFrontDistributionViewerCertificate.BuilderacmCertificateArn(String acmCertificateArn)The ARN of the ACM certificate.AwsCloudFrontDistributionViewerCertificate.Buildercertificate(String certificate)The identifier of the certificate.AwsCloudFrontDistributionViewerCertificate.BuildercertificateSource(String certificateSource)The source of the certificate identified byCertificate.AwsCloudFrontDistributionViewerCertificate.BuildercloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate)Whether the distribution uses the CloudFront domain name.AwsCloudFrontDistributionViewerCertificate.BuilderiamCertificateId(String iamCertificateId)The identifier of the IAM certificate.AwsCloudFrontDistributionViewerCertificate.BuilderminimumProtocolVersion(String minimumProtocolVersion)The security policy that CloudFront uses for HTTPS connections with viewers.AwsCloudFrontDistributionViewerCertificate.BuildersslSupportMethod(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 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
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
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 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
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 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
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.
-
-