Struct aws_sdk_codestar::types::builders::UserProfileSummaryBuilder
source · #[non_exhaustive]pub struct UserProfileSummaryBuilder { /* private fields */ }
Expand description
A builder for UserProfileSummary
.
Implementations§
source§impl UserProfileSummaryBuilder
impl UserProfileSummaryBuilder
sourcepub fn user_arn(self, input: impl Into<String>) -> Self
pub fn user_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user in IAM.
sourcepub fn set_user_arn(self, input: Option<String>) -> Self
pub fn set_user_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user in IAM.
sourcepub fn get_user_arn(&self) -> &Option<String>
pub fn get_user_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user in IAM.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The display name of a user in AWS CodeStar. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The display name of a user in AWS CodeStar. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The display name of a user in AWS CodeStar. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The email address associated with the user.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The email address associated with the user.
sourcepub fn get_email_address(&self) -> &Option<String>
pub fn get_email_address(&self) -> &Option<String>
The email address associated with the user.
sourcepub fn ssh_public_key(self, input: impl Into<String>) -> Self
pub fn ssh_public_key(self, input: impl Into<String>) -> Self
The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
sourcepub fn set_ssh_public_key(self, input: Option<String>) -> Self
pub fn set_ssh_public_key(self, input: Option<String>) -> Self
The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
sourcepub fn get_ssh_public_key(&self) -> &Option<String>
pub fn get_ssh_public_key(&self) -> &Option<String>
The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
sourcepub fn build(self) -> UserProfileSummary
pub fn build(self) -> UserProfileSummary
Consumes the builder and constructs a UserProfileSummary
.
Trait Implementations§
source§impl Clone for UserProfileSummaryBuilder
impl Clone for UserProfileSummaryBuilder
source§fn clone(&self) -> UserProfileSummaryBuilder
fn clone(&self) -> UserProfileSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserProfileSummaryBuilder
impl Debug for UserProfileSummaryBuilder
source§impl Default for UserProfileSummaryBuilder
impl Default for UserProfileSummaryBuilder
source§fn default() -> UserProfileSummaryBuilder
fn default() -> UserProfileSummaryBuilder
source§impl PartialEq<UserProfileSummaryBuilder> for UserProfileSummaryBuilder
impl PartialEq<UserProfileSummaryBuilder> for UserProfileSummaryBuilder
source§fn eq(&self, other: &UserProfileSummaryBuilder) -> bool
fn eq(&self, other: &UserProfileSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.