#[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, and SYSTEM_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, and SYSTEM_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, and SYSTEM_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 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<DescribeUserOutputBuilder> for DescribeUserOutputBuilder
impl PartialEq<DescribeUserOutputBuilder> 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 ==
.