Struct aws_sdk_codestar::client::fluent_builders::CreateUserProfile
source · pub struct CreateUserProfile { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateUserProfile
.
Creates a profile for a user that includes user preferences, such as the display name and email address assocciated with the user, in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.
Implementations§
source§impl CreateUserProfile
impl CreateUserProfile
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateUserProfile, AwsResponseRetryClassifier>, SdkError<CreateUserProfileError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateUserProfile, AwsResponseRetryClassifier>, SdkError<CreateUserProfileError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateUserProfileOutput, SdkError<CreateUserProfileError>>
pub async fn send(
self
) -> Result<CreateUserProfileOutput, SdkError<CreateUserProfileError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The name that will be displayed as the friendly name for the user in AWS CodeStar.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The name that will be displayed as the friendly name for the user in AWS CodeStar.
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The email address that will be displayed as part of the user's profile in AWS CodeStar.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The email address that will be displayed as part of the user's profile in AWS CodeStar.
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.
Trait Implementations§
source§impl Clone for CreateUserProfile
impl Clone for CreateUserProfile
source§fn clone(&self) -> CreateUserProfile
fn clone(&self) -> CreateUserProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more