Struct aws_sdk_iot::types::builders::TlsContextBuilder
source · #[non_exhaustive]pub struct TlsContextBuilder { /* private fields */ }
Expand description
A builder for TlsContext
.
Implementations§
source§impl TlsContextBuilder
impl TlsContextBuilder
sourcepub fn server_name(self, input: impl Into<String>) -> Self
pub fn server_name(self, input: impl Into<String>) -> Self
The value of the serverName
key in a TLS authorization request.
sourcepub fn set_server_name(self, input: Option<String>) -> Self
pub fn set_server_name(self, input: Option<String>) -> Self
The value of the serverName
key in a TLS authorization request.
sourcepub fn get_server_name(&self) -> &Option<String>
pub fn get_server_name(&self) -> &Option<String>
The value of the serverName
key in a TLS authorization request.
sourcepub fn build(self) -> TlsContext
pub fn build(self) -> TlsContext
Consumes the builder and constructs a TlsContext
.
Trait Implementations§
source§impl Clone for TlsContextBuilder
impl Clone for TlsContextBuilder
source§fn clone(&self) -> TlsContextBuilder
fn clone(&self) -> TlsContextBuilder
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 TlsContextBuilder
impl Debug for TlsContextBuilder
source§impl Default for TlsContextBuilder
impl Default for TlsContextBuilder
source§fn default() -> TlsContextBuilder
fn default() -> TlsContextBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TlsContextBuilder
impl PartialEq for TlsContextBuilder
source§fn eq(&self, other: &TlsContextBuilder) -> bool
fn eq(&self, other: &TlsContextBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TlsContextBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TlsContextBuilder
impl Send for TlsContextBuilder
impl Sync for TlsContextBuilder
impl Unpin for TlsContextBuilder
impl UnwindSafe for TlsContextBuilder
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.