Struct aws_sdk_securityhub::types::builders::AwsCloudFrontDistributionViewerCertificateBuilder
source · #[non_exhaustive]pub struct AwsCloudFrontDistributionViewerCertificateBuilder { /* private fields */ }
Expand description
A builder for AwsCloudFrontDistributionViewerCertificate
.
Implementations§
source§impl AwsCloudFrontDistributionViewerCertificateBuilder
impl AwsCloudFrontDistributionViewerCertificateBuilder
sourcepub fn acm_certificate_arn(self, input: impl Into<String>) -> Self
pub fn acm_certificate_arn(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_acm_certificate_arn(self, input: Option<String>) -> Self
pub fn set_acm_certificate_arn(self, input: Option<String>) -> Self
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
.
sourcepub fn get_acm_certificate_arn(&self) -> &Option<String>
pub fn get_acm_certificate_arn(&self) -> &Option<String>
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
.
sourcepub fn certificate(self, input: impl Into<String>) -> Self
pub fn certificate(self, input: impl Into<String>) -> Self
The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
sourcepub fn set_certificate(self, input: Option<String>) -> Self
pub fn set_certificate(self, input: Option<String>) -> Self
The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
sourcepub fn get_certificate(&self) -> &Option<String>
pub fn get_certificate(&self) -> &Option<String>
The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
sourcepub fn certificate_source(self, input: impl Into<String>) -> Self
pub fn certificate_source(self, input: impl Into<String>) -> Self
The source of the certificate identified by Certificate
. Note that in CloudFront, this attribute is deprecated.
sourcepub fn set_certificate_source(self, input: Option<String>) -> Self
pub fn set_certificate_source(self, input: Option<String>) -> Self
The source of the certificate identified by Certificate
. Note that in CloudFront, this attribute is deprecated.
sourcepub fn get_certificate_source(&self) -> &Option<String>
pub fn get_certificate_source(&self) -> &Option<String>
The source of the certificate identified by Certificate
. Note that in CloudFront, this attribute is deprecated.
sourcepub fn cloud_front_default_certificate(self, input: bool) -> Self
pub fn cloud_front_default_certificate(self, input: bool) -> Self
Whether the distribution uses the CloudFront domain name. If set to false
, then you provide either AcmCertificateArn
or IamCertificateId
.
sourcepub fn set_cloud_front_default_certificate(self, input: Option<bool>) -> Self
pub fn set_cloud_front_default_certificate(self, input: Option<bool>) -> Self
Whether the distribution uses the CloudFront domain name. If set to false
, then you provide either AcmCertificateArn
or IamCertificateId
.
sourcepub fn get_cloud_front_default_certificate(&self) -> &Option<bool>
pub fn get_cloud_front_default_certificate(&self) -> &Option<bool>
Whether the distribution uses the CloudFront domain name. If set to false
, then you provide either AcmCertificateArn
or IamCertificateId
.
sourcepub fn iam_certificate_id(self, input: impl Into<String>) -> Self
pub fn iam_certificate_id(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_iam_certificate_id(self, input: Option<String>) -> Self
pub fn set_iam_certificate_id(self, input: Option<String>) -> Self
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
.
sourcepub fn get_iam_certificate_id(&self) -> &Option<String>
pub fn get_iam_certificate_id(&self) -> &Option<String>
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
.
sourcepub fn minimum_protocol_version(self, input: impl Into<String>) -> Self
pub fn minimum_protocol_version(self, input: impl Into<String>) -> Self
The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod
is sni-only
, then MinimumProtocolVersion
must be TLSv1
or higher.
sourcepub fn set_minimum_protocol_version(self, input: Option<String>) -> Self
pub fn set_minimum_protocol_version(self, input: Option<String>) -> Self
The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod
is sni-only
, then MinimumProtocolVersion
must be TLSv1
or higher.
sourcepub fn get_minimum_protocol_version(&self) -> &Option<String>
pub fn get_minimum_protocol_version(&self) -> &Option<String>
The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod
is sni-only
, then MinimumProtocolVersion
must be TLSv1
or higher.
sourcepub fn ssl_support_method(self, input: impl Into<String>) -> Self
pub fn ssl_support_method(self, input: impl Into<String>) -> Self
The viewers that the distribution accepts HTTPS connections from.
sourcepub fn set_ssl_support_method(self, input: Option<String>) -> Self
pub fn set_ssl_support_method(self, input: Option<String>) -> Self
The viewers that the distribution accepts HTTPS connections from.
sourcepub fn get_ssl_support_method(&self) -> &Option<String>
pub fn get_ssl_support_method(&self) -> &Option<String>
The viewers that the distribution accepts HTTPS connections from.
sourcepub fn build(self) -> AwsCloudFrontDistributionViewerCertificate
pub fn build(self) -> AwsCloudFrontDistributionViewerCertificate
Consumes the builder and constructs a AwsCloudFrontDistributionViewerCertificate
.
Trait Implementations§
source§impl Clone for AwsCloudFrontDistributionViewerCertificateBuilder
impl Clone for AwsCloudFrontDistributionViewerCertificateBuilder
source§fn clone(&self) -> AwsCloudFrontDistributionViewerCertificateBuilder
fn clone(&self) -> AwsCloudFrontDistributionViewerCertificateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsCloudFrontDistributionViewerCertificateBuilder
impl Default for AwsCloudFrontDistributionViewerCertificateBuilder
source§fn default() -> AwsCloudFrontDistributionViewerCertificateBuilder
fn default() -> AwsCloudFrontDistributionViewerCertificateBuilder
source§impl PartialEq<AwsCloudFrontDistributionViewerCertificateBuilder> for AwsCloudFrontDistributionViewerCertificateBuilder
impl PartialEq<AwsCloudFrontDistributionViewerCertificateBuilder> for AwsCloudFrontDistributionViewerCertificateBuilder
source§fn eq(&self, other: &AwsCloudFrontDistributionViewerCertificateBuilder) -> bool
fn eq(&self, other: &AwsCloudFrontDistributionViewerCertificateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.