Struct aws_sdk_appmesh::model::ClientPolicyTls
source · #[non_exhaustive]pub struct ClientPolicyTls { /* private fields */ }
Expand description
A reference to an object that represents a Transport Layer Security (TLS) client policy.
Implementations§
source§impl ClientPolicyTls
impl ClientPolicyTls
sourcepub fn enforce(&self) -> Option<bool>
pub fn enforce(&self) -> Option<bool>
Whether the policy is enforced. The default is True
, if a value isn't specified.
sourcepub fn certificate(&self) -> Option<&ClientTlsCertificate>
pub fn certificate(&self) -> Option<&ClientTlsCertificate>
A reference to an object that represents a client's TLS certificate.
sourcepub fn validation(&self) -> Option<&TlsValidationContext>
pub fn validation(&self) -> Option<&TlsValidationContext>
A reference to an object that represents a TLS validation context.
source§impl ClientPolicyTls
impl ClientPolicyTls
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClientPolicyTls
.
Trait Implementations§
source§impl Clone for ClientPolicyTls
impl Clone for ClientPolicyTls
source§fn clone(&self) -> ClientPolicyTls
fn clone(&self) -> ClientPolicyTls
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 ClientPolicyTls
impl Debug for ClientPolicyTls
source§impl PartialEq<ClientPolicyTls> for ClientPolicyTls
impl PartialEq<ClientPolicyTls> for ClientPolicyTls
source§fn eq(&self, other: &ClientPolicyTls) -> bool
fn eq(&self, other: &ClientPolicyTls) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.