Struct aws_sdk_kafka::types::builders::ClientAuthenticationBuilder
source · #[non_exhaustive]pub struct ClientAuthenticationBuilder { /* private fields */ }
Expand description
A builder for ClientAuthentication
.
Implementations§
source§impl ClientAuthenticationBuilder
impl ClientAuthenticationBuilder
sourcepub fn set_sasl(self, input: Option<Sasl>) -> Self
pub fn set_sasl(self, input: Option<Sasl>) -> Self
Details for ClientAuthentication using SASL.
sourcepub fn unauthenticated(self, input: Unauthenticated) -> Self
pub fn unauthenticated(self, input: Unauthenticated) -> Self
Contains information about unauthenticated traffic to the cluster.
sourcepub fn set_unauthenticated(self, input: Option<Unauthenticated>) -> Self
pub fn set_unauthenticated(self, input: Option<Unauthenticated>) -> Self
Contains information about unauthenticated traffic to the cluster.
sourcepub fn get_unauthenticated(&self) -> &Option<Unauthenticated>
pub fn get_unauthenticated(&self) -> &Option<Unauthenticated>
Contains information about unauthenticated traffic to the cluster.
sourcepub fn build(self) -> ClientAuthentication
pub fn build(self) -> ClientAuthentication
Consumes the builder and constructs a ClientAuthentication
.
Trait Implementations§
source§impl Clone for ClientAuthenticationBuilder
impl Clone for ClientAuthenticationBuilder
source§fn clone(&self) -> ClientAuthenticationBuilder
fn clone(&self) -> ClientAuthenticationBuilder
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 ClientAuthenticationBuilder
impl Debug for ClientAuthenticationBuilder
source§impl Default for ClientAuthenticationBuilder
impl Default for ClientAuthenticationBuilder
source§fn default() -> ClientAuthenticationBuilder
fn default() -> ClientAuthenticationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ClientAuthenticationBuilder
impl PartialEq for ClientAuthenticationBuilder
source§fn eq(&self, other: &ClientAuthenticationBuilder) -> bool
fn eq(&self, other: &ClientAuthenticationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientAuthenticationBuilder
Auto Trait Implementations§
impl Freeze for ClientAuthenticationBuilder
impl RefUnwindSafe for ClientAuthenticationBuilder
impl Send for ClientAuthenticationBuilder
impl Sync for ClientAuthenticationBuilder
impl Unpin for ClientAuthenticationBuilder
impl UnwindSafe for ClientAuthenticationBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.