Struct aws_sdk_chime::types::builders::UserBuilder
source · #[non_exhaustive]pub struct UserBuilder { /* private fields */ }
Expand description
A builder for User
.
Implementations§
source§impl UserBuilder
impl UserBuilder
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The user ID.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The user ID.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Chime account ID.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Chime account ID.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Chime account ID.
sourcepub fn primary_email(self, input: impl Into<String>) -> Self
pub fn primary_email(self, input: impl Into<String>) -> Self
The primary email address of the user.
sourcepub fn set_primary_email(self, input: Option<String>) -> Self
pub fn set_primary_email(self, input: Option<String>) -> Self
The primary email address of the user.
sourcepub fn get_primary_email(&self) -> &Option<String>
pub fn get_primary_email(&self) -> &Option<String>
The primary email address of the user.
sourcepub fn primary_provisioned_number(self, input: impl Into<String>) -> Self
pub fn primary_provisioned_number(self, input: impl Into<String>) -> Self
The primary phone number associated with the user.
sourcepub fn set_primary_provisioned_number(self, input: Option<String>) -> Self
pub fn set_primary_provisioned_number(self, input: Option<String>) -> Self
The primary phone number associated with the user.
sourcepub fn get_primary_provisioned_number(&self) -> &Option<String>
pub fn get_primary_provisioned_number(&self) -> &Option<String>
The primary phone number associated with the user.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The display name of the user.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The display name of the user.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The display name of the user.
sourcepub fn license_type(self, input: License) -> Self
pub fn license_type(self, input: License) -> Self
The license type for the user.
sourcepub fn set_license_type(self, input: Option<License>) -> Self
pub fn set_license_type(self, input: Option<License>) -> Self
The license type for the user.
sourcepub fn get_license_type(&self) -> &Option<License>
pub fn get_license_type(&self) -> &Option<License>
The license type for the user.
sourcepub fn set_user_type(self, input: Option<UserType>) -> Self
pub fn set_user_type(self, input: Option<UserType>) -> Self
The user type.
sourcepub fn get_user_type(&self) -> &Option<UserType>
pub fn get_user_type(&self) -> &Option<UserType>
The user type.
sourcepub fn user_registration_status(self, input: RegistrationStatus) -> Self
pub fn user_registration_status(self, input: RegistrationStatus) -> Self
The user registration status.
sourcepub fn set_user_registration_status(
self,
input: Option<RegistrationStatus>
) -> Self
pub fn set_user_registration_status( self, input: Option<RegistrationStatus> ) -> Self
The user registration status.
sourcepub fn get_user_registration_status(&self) -> &Option<RegistrationStatus>
pub fn get_user_registration_status(&self) -> &Option<RegistrationStatus>
The user registration status.
sourcepub fn user_invitation_status(self, input: InviteStatus) -> Self
pub fn user_invitation_status(self, input: InviteStatus) -> Self
The user invite status.
sourcepub fn set_user_invitation_status(self, input: Option<InviteStatus>) -> Self
pub fn set_user_invitation_status(self, input: Option<InviteStatus>) -> Self
The user invite status.
sourcepub fn get_user_invitation_status(&self) -> &Option<InviteStatus>
pub fn get_user_invitation_status(&self) -> &Option<InviteStatus>
The user invite status.
sourcepub fn registered_on(self, input: DateTime) -> Self
pub fn registered_on(self, input: DateTime) -> Self
Date and time when the user is registered, in ISO 8601 format.
sourcepub fn set_registered_on(self, input: Option<DateTime>) -> Self
pub fn set_registered_on(self, input: Option<DateTime>) -> Self
Date and time when the user is registered, in ISO 8601 format.
sourcepub fn get_registered_on(&self) -> &Option<DateTime>
pub fn get_registered_on(&self) -> &Option<DateTime>
Date and time when the user is registered, in ISO 8601 format.
sourcepub fn invited_on(self, input: DateTime) -> Self
pub fn invited_on(self, input: DateTime) -> Self
Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.
sourcepub fn set_invited_on(self, input: Option<DateTime>) -> Self
pub fn set_invited_on(self, input: Option<DateTime>) -> Self
Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.
sourcepub fn get_invited_on(&self) -> &Option<DateTime>
pub fn get_invited_on(&self) -> &Option<DateTime>
Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.
sourcepub fn alexa_for_business_metadata(
self,
input: AlexaForBusinessMetadata
) -> Self
pub fn alexa_for_business_metadata( self, input: AlexaForBusinessMetadata ) -> Self
The Alexa for Business metadata.
sourcepub fn set_alexa_for_business_metadata(
self,
input: Option<AlexaForBusinessMetadata>
) -> Self
pub fn set_alexa_for_business_metadata( self, input: Option<AlexaForBusinessMetadata> ) -> Self
The Alexa for Business metadata.
sourcepub fn get_alexa_for_business_metadata(
&self
) -> &Option<AlexaForBusinessMetadata>
pub fn get_alexa_for_business_metadata( &self ) -> &Option<AlexaForBusinessMetadata>
The Alexa for Business metadata.
sourcepub fn personal_pin(self, input: impl Into<String>) -> Self
pub fn personal_pin(self, input: impl Into<String>) -> Self
The user's personal meeting PIN.
sourcepub fn set_personal_pin(self, input: Option<String>) -> Self
pub fn set_personal_pin(self, input: Option<String>) -> Self
The user's personal meeting PIN.
sourcepub fn get_personal_pin(&self) -> &Option<String>
pub fn get_personal_pin(&self) -> &Option<String>
The user's personal meeting PIN.
Trait Implementations§
source§impl Clone for UserBuilder
impl Clone for UserBuilder
source§fn clone(&self) -> UserBuilder
fn clone(&self) -> UserBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserBuilder
impl Debug for UserBuilder
source§impl Default for UserBuilder
impl Default for UserBuilder
source§fn default() -> UserBuilder
fn default() -> UserBuilder
source§impl PartialEq for UserBuilder
impl PartialEq for UserBuilder
source§fn eq(&self, other: &UserBuilder) -> bool
fn eq(&self, other: &UserBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserBuilder
Auto Trait Implementations§
impl Freeze for UserBuilder
impl RefUnwindSafe for UserBuilder
impl Send for UserBuilder
impl Sync for UserBuilder
impl Unpin for UserBuilder
impl UnwindSafe for UserBuilder
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