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 ==
.impl StructuralPartialEq for AwsCloudFrontDistributionOriginSslProtocolsBuilder
Auto Trait Implementations§
impl Freeze for AwsCloudFrontDistributionOriginSslProtocolsBuilder
impl RefUnwindSafe for AwsCloudFrontDistributionOriginSslProtocolsBuilder
impl Send for AwsCloudFrontDistributionOriginSslProtocolsBuilder
impl Sync for AwsCloudFrontDistributionOriginSslProtocolsBuilder
impl Unpin for AwsCloudFrontDistributionOriginSslProtocolsBuilder
impl UnwindSafe for AwsCloudFrontDistributionOriginSslProtocolsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more