Struct aws_sdk_kafka::types::builders::UserIdentityBuilder
source · #[non_exhaustive]pub struct UserIdentityBuilder { /* private fields */ }
Expand description
A builder for UserIdentity
.
Implementations§
source§impl UserIdentityBuilder
impl UserIdentityBuilder
sourcepub fn type(self, input: UserIdentityType) -> Self
pub fn type(self, input: UserIdentityType) -> Self
The identity type of the requester that calls the API operation.
sourcepub fn set_type(self, input: Option<UserIdentityType>) -> Self
pub fn set_type(self, input: Option<UserIdentityType>) -> Self
The identity type of the requester that calls the API operation.
sourcepub fn get_type(&self) -> &Option<UserIdentityType>
pub fn get_type(&self) -> &Option<UserIdentityType>
The identity type of the requester that calls the API operation.
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
A unique identifier for the requester that calls the API operation.
sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
A unique identifier for the requester that calls the API operation.
sourcepub fn get_principal_id(&self) -> &Option<String>
pub fn get_principal_id(&self) -> &Option<String>
A unique identifier for the requester that calls the API operation.
sourcepub fn build(self) -> UserIdentity
pub fn build(self) -> UserIdentity
Consumes the builder and constructs a UserIdentity
.
Trait Implementations§
source§impl Clone for UserIdentityBuilder
impl Clone for UserIdentityBuilder
source§fn clone(&self) -> UserIdentityBuilder
fn clone(&self) -> UserIdentityBuilder
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 UserIdentityBuilder
impl Debug for UserIdentityBuilder
source§impl Default for UserIdentityBuilder
impl Default for UserIdentityBuilder
source§fn default() -> UserIdentityBuilder
fn default() -> UserIdentityBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UserIdentityBuilder
impl PartialEq for UserIdentityBuilder
source§fn eq(&self, other: &UserIdentityBuilder) -> bool
fn eq(&self, other: &UserIdentityBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserIdentityBuilder
Auto Trait Implementations§
impl Freeze for UserIdentityBuilder
impl RefUnwindSafe for UserIdentityBuilder
impl Send for UserIdentityBuilder
impl Sync for UserIdentityBuilder
impl Unpin for UserIdentityBuilder
impl UnwindSafe for UserIdentityBuilder
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.