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 ==
.impl StructuralPartialEq for EncryptionInTransit
Auto Trait Implementations§
impl Freeze for EncryptionInTransit
impl RefUnwindSafe for EncryptionInTransit
impl Send for EncryptionInTransit
impl Sync for EncryptionInTransit
impl Unpin for EncryptionInTransit
impl UnwindSafe for EncryptionInTransit
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more