Struct aws_sdk_connect::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 arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user account.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user account.
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
The user name assigned to the user account.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The user name assigned to the user account.
sourcepub fn get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
The user name assigned to the user account.
sourcepub fn identity_info(self, input: UserIdentityInfo) -> Self
pub fn identity_info(self, input: UserIdentityInfo) -> Self
Information about the user identity.
sourcepub fn set_identity_info(self, input: Option<UserIdentityInfo>) -> Self
pub fn set_identity_info(self, input: Option<UserIdentityInfo>) -> Self
Information about the user identity.
sourcepub fn get_identity_info(&self) -> &Option<UserIdentityInfo>
pub fn get_identity_info(&self) -> &Option<UserIdentityInfo>
Information about the user identity.
sourcepub fn phone_config(self, input: UserPhoneConfig) -> Self
pub fn phone_config(self, input: UserPhoneConfig) -> Self
Information about the phone configuration for the user.
sourcepub fn set_phone_config(self, input: Option<UserPhoneConfig>) -> Self
pub fn set_phone_config(self, input: Option<UserPhoneConfig>) -> Self
Information about the phone configuration for the user.
sourcepub fn get_phone_config(&self) -> &Option<UserPhoneConfig>
pub fn get_phone_config(&self) -> &Option<UserPhoneConfig>
Information about the phone configuration for the user.
sourcepub fn directory_user_id(self, input: impl Into<String>) -> Self
pub fn directory_user_id(self, input: impl Into<String>) -> Self
The identifier of the user account in the directory used for identity management.
sourcepub fn set_directory_user_id(self, input: Option<String>) -> Self
pub fn set_directory_user_id(self, input: Option<String>) -> Self
The identifier of the user account in the directory used for identity management.
sourcepub fn get_directory_user_id(&self) -> &Option<String>
pub fn get_directory_user_id(&self) -> &Option<String>
The identifier of the user account in the directory used for identity management.
sourcepub fn security_profile_ids(self, input: impl Into<String>) -> Self
pub fn security_profile_ids(self, input: impl Into<String>) -> Self
Appends an item to security_profile_ids
.
To override the contents of this collection use set_security_profile_ids
.
The identifiers of the security profiles for the user.
sourcepub fn set_security_profile_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_profile_ids(self, input: Option<Vec<String>>) -> Self
The identifiers of the security profiles for the user.
sourcepub fn get_security_profile_ids(&self) -> &Option<Vec<String>>
pub fn get_security_profile_ids(&self) -> &Option<Vec<String>>
The identifiers of the security profiles for the user.
sourcepub fn routing_profile_id(self, input: impl Into<String>) -> Self
pub fn routing_profile_id(self, input: impl Into<String>) -> Self
The identifier of the routing profile for the user.
sourcepub fn set_routing_profile_id(self, input: Option<String>) -> Self
pub fn set_routing_profile_id(self, input: Option<String>) -> Self
The identifier of the routing profile for the user.
sourcepub fn get_routing_profile_id(&self) -> &Option<String>
pub fn get_routing_profile_id(&self) -> &Option<String>
The identifier of the routing profile for the user.
sourcepub fn hierarchy_group_id(self, input: impl Into<String>) -> Self
pub fn hierarchy_group_id(self, input: impl Into<String>) -> Self
The identifier of the hierarchy group for the user.
sourcepub fn set_hierarchy_group_id(self, input: Option<String>) -> Self
pub fn set_hierarchy_group_id(self, input: Option<String>) -> Self
The identifier of the hierarchy group for the user.
sourcepub fn get_hierarchy_group_id(&self) -> &Option<String>
pub fn get_hierarchy_group_id(&self) -> &Option<String>
The identifier of the hierarchy group for the user.
The tags.
The tags.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp when this resource was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp when this resource was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The timestamp when this resource was last modified.
sourcepub fn last_modified_region(self, input: impl Into<String>) -> Self
pub fn last_modified_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region where this resource was last modified.
sourcepub fn set_last_modified_region(self, input: Option<String>) -> Self
pub fn set_last_modified_region(self, input: Option<String>) -> Self
The Amazon Web Services Region where this resource was last modified.
sourcepub fn get_last_modified_region(&self) -> &Option<String>
pub fn get_last_modified_region(&self) -> &Option<String>
The Amazon Web Services Region where this resource was last modified.
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 ==
.