Struct aws_sdk_codestar::operation::describe_user_profile::builders::DescribeUserProfileOutputBuilder
source · #[non_exhaustive]pub struct DescribeUserProfileOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeUserProfileOutput
.
Implementations§
source§impl DescribeUserProfileOutputBuilder
impl DescribeUserProfileOutputBuilder
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.
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.
sourcepub fn get_user_arn(&self) -> &Option<String>
pub fn get_user_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of 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 shown for the user in AWS CodeStar projects. 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 shown for the user in AWS CodeStar projects. 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 shown for the user in AWS CodeStar projects. 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 for the user. Optional.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The email address for the user. Optional.
sourcepub fn get_email_address(&self) -> &Option<String>
pub fn get_email_address(&self) -> &Option<String>
The email address for the user. Optional.
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. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.
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. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.
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. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The date and time when the user profile was created in AWS CodeStar, in timestamp format.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The date and time when the user profile was created in AWS CodeStar, in timestamp format.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The date and time when the user profile was created in AWS CodeStar, in timestamp format.
sourcepub fn last_modified_timestamp(self, input: DateTime) -> Self
pub fn last_modified_timestamp(self, input: DateTime) -> Self
The date and time when the user profile was last modified, in timestamp format.
sourcepub fn set_last_modified_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_timestamp(self, input: Option<DateTime>) -> Self
The date and time when the user profile was last modified, in timestamp format.
sourcepub fn get_last_modified_timestamp(&self) -> &Option<DateTime>
pub fn get_last_modified_timestamp(&self) -> &Option<DateTime>
The date and time when the user profile was last modified, in timestamp format.
sourcepub fn build(self) -> DescribeUserProfileOutput
pub fn build(self) -> DescribeUserProfileOutput
Consumes the builder and constructs a DescribeUserProfileOutput
.
Trait Implementations§
source§impl Clone for DescribeUserProfileOutputBuilder
impl Clone for DescribeUserProfileOutputBuilder
source§fn clone(&self) -> DescribeUserProfileOutputBuilder
fn clone(&self) -> DescribeUserProfileOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeUserProfileOutputBuilder
impl Default for DescribeUserProfileOutputBuilder
source§fn default() -> DescribeUserProfileOutputBuilder
fn default() -> DescribeUserProfileOutputBuilder
source§impl PartialEq<DescribeUserProfileOutputBuilder> for DescribeUserProfileOutputBuilder
impl PartialEq<DescribeUserProfileOutputBuilder> for DescribeUserProfileOutputBuilder
source§fn eq(&self, other: &DescribeUserProfileOutputBuilder) -> bool
fn eq(&self, other: &DescribeUserProfileOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.