Struct aws_sdk_kafka::model::EncryptionInTransit
source · #[non_exhaustive]pub struct EncryptionInTransit { /* private fields */ }
Expand description
The settings for encrypting data in transit.
Implementations§
source§impl EncryptionInTransit
impl EncryptionInTransit
sourcepub fn client_broker(&self) -> Option<&ClientBroker>
pub fn client_broker(&self) -> Option<&ClientBroker>
Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT means that client-broker communication is enabled in plaintext only.
The default value is TLS_PLAINTEXT.
sourcepub fn in_cluster(&self) -> bool
pub fn in_cluster(&self) -> bool
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
The default value is true.
source§impl EncryptionInTransit
impl EncryptionInTransit
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EncryptionInTransit
.
Trait Implementations§
source§impl Clone for EncryptionInTransit
impl Clone for EncryptionInTransit
source§fn clone(&self) -> EncryptionInTransit
fn clone(&self) -> EncryptionInTransit
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 EncryptionInTransit
impl Debug for EncryptionInTransit
source§impl PartialEq<EncryptionInTransit> for EncryptionInTransit
impl PartialEq<EncryptionInTransit> for EncryptionInTransit
source§fn eq(&self, other: &EncryptionInTransit) -> bool
fn eq(&self, other: &EncryptionInTransit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.