#[non_exhaustive]pub struct OriginSslProtocolsBuilder { /* private fields */ }
Expand description
A builder for OriginSslProtocols
.
Implementations§
source§impl OriginSslProtocolsBuilder
impl OriginSslProtocolsBuilder
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.
This field is required.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 items(self, input: SslProtocol) -> Self
pub fn items(self, input: SslProtocol) -> 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<SslProtocol>>) -> Self
pub fn set_items(self, input: Option<Vec<SslProtocol>>) -> Self
A list that contains allowed SSL/TLS protocols for this distribution.
sourcepub fn get_items(&self) -> &Option<Vec<SslProtocol>>
pub fn get_items(&self) -> &Option<Vec<SslProtocol>>
A list that contains allowed SSL/TLS protocols for this distribution.
sourcepub fn build(self) -> Result<OriginSslProtocols, BuildError>
pub fn build(self) -> Result<OriginSslProtocols, BuildError>
Consumes the builder and constructs a OriginSslProtocols
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OriginSslProtocolsBuilder
impl Clone for OriginSslProtocolsBuilder
source§fn clone(&self) -> OriginSslProtocolsBuilder
fn clone(&self) -> OriginSslProtocolsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OriginSslProtocolsBuilder
impl Debug for OriginSslProtocolsBuilder
source§impl Default for OriginSslProtocolsBuilder
impl Default for OriginSslProtocolsBuilder
source§fn default() -> OriginSslProtocolsBuilder
fn default() -> OriginSslProtocolsBuilder
source§impl PartialEq for OriginSslProtocolsBuilder
impl PartialEq for OriginSslProtocolsBuilder
source§fn eq(&self, other: &OriginSslProtocolsBuilder) -> bool
fn eq(&self, other: &OriginSslProtocolsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OriginSslProtocolsBuilder
Auto Trait Implementations§
impl Freeze for OriginSslProtocolsBuilder
impl RefUnwindSafe for OriginSslProtocolsBuilder
impl Send for OriginSslProtocolsBuilder
impl Sync for OriginSslProtocolsBuilder
impl Unpin for OriginSslProtocolsBuilder
impl UnwindSafe for OriginSslProtocolsBuilder
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