Struct aws_sdk_securityhub::types::builders::AwsCloudFrontDistributionOriginSslProtocolsBuilder
source · #[non_exhaustive]pub struct AwsCloudFrontDistributionOriginSslProtocolsBuilder { /* private fields */ }
Expand description
A builder for AwsCloudFrontDistributionOriginSslProtocols
.
Implementations§
source§impl AwsCloudFrontDistributionOriginSslProtocolsBuilder
impl AwsCloudFrontDistributionOriginSslProtocolsBuilder
sourcepub fn items(self, input: impl Into<String>) -> Self
pub fn items(self, input: impl Into<String>) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
A list that contains allowed SSL/TLS protocols for this distribution.
sourcepub fn set_items(self, input: Option<Vec<String>>) -> Self
pub fn set_items(self, input: Option<Vec<String>>) -> Self
A list that contains allowed SSL/TLS protocols for this distribution.
sourcepub fn get_items(&self) -> &Option<Vec<String>>
pub fn get_items(&self) -> &Option<Vec<String>>
A list that contains allowed SSL/TLS protocols for this distribution.
sourcepub fn quantity(self, input: i32) -> Self
pub fn quantity(self, input: i32) -> Self
The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
sourcepub fn get_quantity(&self) -> &Option<i32>
pub fn get_quantity(&self) -> &Option<i32>
The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.
sourcepub fn build(self) -> AwsCloudFrontDistributionOriginSslProtocols
pub fn build(self) -> AwsCloudFrontDistributionOriginSslProtocols
Consumes the builder and constructs a AwsCloudFrontDistributionOriginSslProtocols
.
Trait Implementations§
source§impl Clone for AwsCloudFrontDistributionOriginSslProtocolsBuilder
impl Clone for AwsCloudFrontDistributionOriginSslProtocolsBuilder
source§fn clone(&self) -> AwsCloudFrontDistributionOriginSslProtocolsBuilder
fn clone(&self) -> AwsCloudFrontDistributionOriginSslProtocolsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsCloudFrontDistributionOriginSslProtocolsBuilder
impl Default for AwsCloudFrontDistributionOriginSslProtocolsBuilder
source§fn default() -> AwsCloudFrontDistributionOriginSslProtocolsBuilder
fn default() -> AwsCloudFrontDistributionOriginSslProtocolsBuilder
source§impl PartialEq for AwsCloudFrontDistributionOriginSslProtocolsBuilder
impl PartialEq for AwsCloudFrontDistributionOriginSslProtocolsBuilder
source§fn eq(&self, other: &AwsCloudFrontDistributionOriginSslProtocolsBuilder) -> bool
fn eq(&self, other: &AwsCloudFrontDistributionOriginSslProtocolsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.