Struct aws_sdk_kafka::types::EncryptionInTransit
source · #[non_exhaustive]pub struct EncryptionInTransit {
pub client_broker: Option<ClientBroker>,
pub in_cluster: Option<bool>,
}
Expand description
The settings for encrypting data in transit.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_broker: 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.
in_cluster: Option<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.
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) -> Option<bool>
pub fn in_cluster(&self) -> Option<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() -> EncryptionInTransitBuilder
pub fn builder() -> EncryptionInTransitBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionInTransit
impl Debug for EncryptionInTransit
source§impl PartialEq for EncryptionInTransit
impl PartialEq for EncryptionInTransit
source§fn eq(&self, other: &EncryptionInTransit) -> bool
fn eq(&self, other: &EncryptionInTransit) -> bool
self
and other
values to be equal, and is used
by ==
.