Struct aws_sdk_apigatewayv2::types::builders::TlsConfigBuilder
source · #[non_exhaustive]pub struct TlsConfigBuilder { /* private fields */ }
Expand description
A builder for TlsConfig
.
Implementations§
source§impl TlsConfigBuilder
impl TlsConfigBuilder
sourcepub fn server_name_to_verify(self, input: impl Into<String>) -> Self
pub fn server_name_to_verify(self, input: impl Into<String>) -> Self
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
sourcepub fn set_server_name_to_verify(self, input: Option<String>) -> Self
pub fn set_server_name_to_verify(self, input: Option<String>) -> Self
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
sourcepub fn get_server_name_to_verify(&self) -> &Option<String>
pub fn get_server_name_to_verify(&self) -> &Option<String>
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
Trait Implementations§
source§impl Clone for TlsConfigBuilder
impl Clone for TlsConfigBuilder
source§fn clone(&self) -> TlsConfigBuilder
fn clone(&self) -> TlsConfigBuilder
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 TlsConfigBuilder
impl Debug for TlsConfigBuilder
source§impl Default for TlsConfigBuilder
impl Default for TlsConfigBuilder
source§fn default() -> TlsConfigBuilder
fn default() -> TlsConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TlsConfigBuilder> for TlsConfigBuilder
impl PartialEq<TlsConfigBuilder> for TlsConfigBuilder
source§fn eq(&self, other: &TlsConfigBuilder) -> bool
fn eq(&self, other: &TlsConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TlsConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TlsConfigBuilder
impl Send for TlsConfigBuilder
impl Sync for TlsConfigBuilder
impl Unpin for TlsConfigBuilder
impl UnwindSafe for TlsConfigBuilder
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