Struct aws_sdk_codestar::operation::create_user_profile::builders::CreateUserProfileFluentBuilder
source · pub struct CreateUserProfileFluentBuilder { /* 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 CreateUserProfileFluentBuilder
impl CreateUserProfileFluentBuilder
sourcepub fn as_input(&self) -> &CreateUserProfileInputBuilder
pub fn as_input(&self) -> &CreateUserProfileInputBuilder
Access the CreateUserProfile as a reference.
sourcepub async fn send(
self
) -> Result<CreateUserProfileOutput, SdkError<CreateUserProfileError, HttpResponse>>
pub async fn send( self ) -> Result<CreateUserProfileOutput, SdkError<CreateUserProfileError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<CreateUserProfileOutput, CreateUserProfileError>, SdkError<CreateUserProfileError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateUserProfileOutput, CreateUserProfileError>, SdkError<CreateUserProfileError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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 get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
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 get_email_address(&self) -> &Option<String>
pub fn get_email_address(&self) -> &Option<String>
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.
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.
Trait Implementations§
source§impl Clone for CreateUserProfileFluentBuilder
impl Clone for CreateUserProfileFluentBuilder
source§fn clone(&self) -> CreateUserProfileFluentBuilder
fn clone(&self) -> CreateUserProfileFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more