#[non_exhaustive]pub struct SslPolicyBuilder { /* private fields */ }
Expand description
A builder for SslPolicy
.
Implementations§
source§impl SslPolicyBuilder
impl SslPolicyBuilder
sourcepub fn ssl_protocols(self, input: impl Into<String>) -> Self
pub fn ssl_protocols(self, input: impl Into<String>) -> Self
Appends an item to ssl_protocols
.
To override the contents of this collection use set_ssl_protocols
.
The protocols.
sourcepub fn set_ssl_protocols(self, input: Option<Vec<String>>) -> Self
pub fn set_ssl_protocols(self, input: Option<Vec<String>>) -> Self
The protocols.
sourcepub fn get_ssl_protocols(&self) -> &Option<Vec<String>>
pub fn get_ssl_protocols(&self) -> &Option<Vec<String>>
The protocols.
sourcepub fn ciphers(self, input: Cipher) -> Self
pub fn ciphers(self, input: Cipher) -> Self
Appends an item to ciphers
.
To override the contents of this collection use set_ciphers
.
The ciphers.
sourcepub fn set_ciphers(self, input: Option<Vec<Cipher>>) -> Self
pub fn set_ciphers(self, input: Option<Vec<Cipher>>) -> Self
The ciphers.
sourcepub fn get_ciphers(&self) -> &Option<Vec<Cipher>>
pub fn get_ciphers(&self) -> &Option<Vec<Cipher>>
The ciphers.
sourcepub fn supported_load_balancer_types(self, input: impl Into<String>) -> Self
pub fn supported_load_balancer_types(self, input: impl Into<String>) -> Self
Appends an item to supported_load_balancer_types
.
To override the contents of this collection use set_supported_load_balancer_types
.
The supported load balancers.
sourcepub fn set_supported_load_balancer_types(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_supported_load_balancer_types( self, input: Option<Vec<String>> ) -> Self
The supported load balancers.
sourcepub fn get_supported_load_balancer_types(&self) -> &Option<Vec<String>>
pub fn get_supported_load_balancer_types(&self) -> &Option<Vec<String>>
The supported load balancers.
Trait Implementations§
source§impl Clone for SslPolicyBuilder
impl Clone for SslPolicyBuilder
source§fn clone(&self) -> SslPolicyBuilder
fn clone(&self) -> SslPolicyBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SslPolicyBuilder
impl Debug for SslPolicyBuilder
source§impl Default for SslPolicyBuilder
impl Default for SslPolicyBuilder
source§fn default() -> SslPolicyBuilder
fn default() -> SslPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SslPolicyBuilder
impl PartialEq for SslPolicyBuilder
source§fn eq(&self, other: &SslPolicyBuilder) -> bool
fn eq(&self, other: &SslPolicyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SslPolicyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SslPolicyBuilder
impl Send for SslPolicyBuilder
impl Sync for SslPolicyBuilder
impl Unpin for SslPolicyBuilder
impl UnwindSafe for SslPolicyBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.