#[non_exhaustive]pub struct DescribeUserOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeUserOutput
.
Implementations§
source§impl DescribeUserOutputBuilder
impl DescribeUserOutputBuilder
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier for the described user.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The identifier for the described 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 state(self, input: EntityState) -> Self
pub fn state(self, input: EntityState) -> Self
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
sourcepub fn set_state(self, input: Option<EntityState>) -> Self
pub fn set_state(self, input: Option<EntityState>) -> Self
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
sourcepub fn get_state(&self) -> &Option<EntityState>
pub fn get_state(&self) -> &Option<EntityState>
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
sourcepub fn user_role(self, input: UserRole) -> Self
pub fn user_role(self, input: UserRole) -> Self
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
sourcepub fn set_user_role(self, input: Option<UserRole>) -> Self
pub fn set_user_role(self, input: Option<UserRole>) -> Self
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
sourcepub fn get_user_role(&self) -> &Option<UserRole>
pub fn get_user_role(&self) -> &Option<UserRole>
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, SYSTEM_USER, and REMOTE_USER.
sourcepub fn enabled_date(self, input: DateTime) -> Self
pub fn enabled_date(self, input: DateTime) -> Self
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
sourcepub fn set_enabled_date(self, input: Option<DateTime>) -> Self
pub fn set_enabled_date(self, input: Option<DateTime>) -> Self
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
sourcepub fn get_enabled_date(&self) -> &Option<DateTime>
pub fn get_enabled_date(&self) -> &Option<DateTime>
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
sourcepub fn disabled_date(self, input: DateTime) -> Self
pub fn disabled_date(self, input: DateTime) -> Self
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
sourcepub fn set_disabled_date(self, input: Option<DateTime>) -> Self
pub fn set_disabled_date(self, input: Option<DateTime>) -> Self
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
sourcepub fn get_disabled_date(&self) -> &Option<DateTime>
pub fn get_disabled_date(&self) -> &Option<DateTime>
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
sourcepub fn mailbox_provisioned_date(self, input: DateTime) -> Self
pub fn mailbox_provisioned_date(self, input: DateTime) -> Self
The date when the mailbox was created for the user.
sourcepub fn set_mailbox_provisioned_date(self, input: Option<DateTime>) -> Self
pub fn set_mailbox_provisioned_date(self, input: Option<DateTime>) -> Self
The date when the mailbox was created for the user.
sourcepub fn get_mailbox_provisioned_date(&self) -> &Option<DateTime>
pub fn get_mailbox_provisioned_date(&self) -> &Option<DateTime>
The date when the mailbox was created for the user.
sourcepub fn mailbox_deprovisioned_date(self, input: DateTime) -> Self
pub fn mailbox_deprovisioned_date(self, input: DateTime) -> Self
The date when the mailbox was removed for the user.
sourcepub fn set_mailbox_deprovisioned_date(self, input: Option<DateTime>) -> Self
pub fn set_mailbox_deprovisioned_date(self, input: Option<DateTime>) -> Self
The date when the mailbox was removed for the user.
sourcepub fn get_mailbox_deprovisioned_date(&self) -> &Option<DateTime>
pub fn get_mailbox_deprovisioned_date(&self) -> &Option<DateTime>
The date when the mailbox was removed for the user.
sourcepub fn first_name(self, input: impl Into<String>) -> Self
pub fn first_name(self, input: impl Into<String>) -> Self
First name of the user.
sourcepub fn set_first_name(self, input: Option<String>) -> Self
pub fn set_first_name(self, input: Option<String>) -> Self
First name of the user.
sourcepub fn get_first_name(&self) -> &Option<String>
pub fn get_first_name(&self) -> &Option<String>
First name of the user.
sourcepub fn set_last_name(self, input: Option<String>) -> Self
pub fn set_last_name(self, input: Option<String>) -> Self
Last name of the user.
sourcepub fn get_last_name(&self) -> &Option<String>
pub fn get_last_name(&self) -> &Option<String>
Last name of the user.
If enabled, the user is hidden from the global address list.
If enabled, the user is hidden from the global address list.
If enabled, the user is hidden from the global address list.
sourcepub fn set_initials(self, input: Option<String>) -> Self
pub fn set_initials(self, input: Option<String>) -> Self
Initials of the user.
sourcepub fn get_initials(&self) -> &Option<String>
pub fn get_initials(&self) -> &Option<String>
Initials of the user.
sourcepub fn set_telephone(self, input: Option<String>) -> Self
pub fn set_telephone(self, input: Option<String>) -> Self
User's contact number.
sourcepub fn get_telephone(&self) -> &Option<String>
pub fn get_telephone(&self) -> &Option<String>
User's contact number.
sourcepub fn set_street(self, input: Option<String>) -> Self
pub fn set_street(self, input: Option<String>) -> Self
Street where the user is located.
sourcepub fn get_street(&self) -> &Option<String>
pub fn get_street(&self) -> &Option<String>
Street where the user is located.
sourcepub fn set_job_title(self, input: Option<String>) -> Self
pub fn set_job_title(self, input: Option<String>) -> Self
Job title of the user.
sourcepub fn get_job_title(&self) -> &Option<String>
pub fn get_job_title(&self) -> &Option<String>
Job title of the user.
sourcepub fn set_company(self, input: Option<String>) -> Self
pub fn set_company(self, input: Option<String>) -> Self
Company of the user.
sourcepub fn get_company(&self) -> &Option<String>
pub fn get_company(&self) -> &Option<String>
Company of the user.
sourcepub fn set_zip_code(self, input: Option<String>) -> Self
pub fn set_zip_code(self, input: Option<String>) -> Self
Zip code of the user.
sourcepub fn get_zip_code(&self) -> &Option<String>
pub fn get_zip_code(&self) -> &Option<String>
Zip code of the user.
sourcepub fn department(self, input: impl Into<String>) -> Self
pub fn department(self, input: impl Into<String>) -> Self
Department of the user.
sourcepub fn set_department(self, input: Option<String>) -> Self
pub fn set_department(self, input: Option<String>) -> Self
Department of the user.
sourcepub fn get_department(&self) -> &Option<String>
pub fn get_department(&self) -> &Option<String>
Department of the user.
sourcepub fn set_country(self, input: Option<String>) -> Self
pub fn set_country(self, input: Option<String>) -> Self
Country where the user is located.
sourcepub fn get_country(&self) -> &Option<String>
pub fn get_country(&self) -> &Option<String>
Country where the user is located.
sourcepub fn set_office(self, input: Option<String>) -> Self
pub fn set_office(self, input: Option<String>) -> Self
Office where the user is located.
sourcepub fn get_office(&self) -> &Option<String>
pub fn get_office(&self) -> &Option<String>
Office where the user is located.
sourcepub fn build(self) -> DescribeUserOutput
pub fn build(self) -> DescribeUserOutput
Consumes the builder and constructs a DescribeUserOutput
.
Trait Implementations§
source§impl Clone for DescribeUserOutputBuilder
impl Clone for DescribeUserOutputBuilder
source§fn clone(&self) -> DescribeUserOutputBuilder
fn clone(&self) -> DescribeUserOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeUserOutputBuilder
impl Debug for DescribeUserOutputBuilder
source§impl Default for DescribeUserOutputBuilder
impl Default for DescribeUserOutputBuilder
source§fn default() -> DescribeUserOutputBuilder
fn default() -> DescribeUserOutputBuilder
source§impl PartialEq for DescribeUserOutputBuilder
impl PartialEq for DescribeUserOutputBuilder
source§fn eq(&self, other: &DescribeUserOutputBuilder) -> bool
fn eq(&self, other: &DescribeUserOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeUserOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeUserOutputBuilder
impl RefUnwindSafe for DescribeUserOutputBuilder
impl Send for DescribeUserOutputBuilder
impl Sync for DescribeUserOutputBuilder
impl Unpin for DescribeUserOutputBuilder
impl UnwindSafe for DescribeUserOutputBuilder
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