Struct aws_sdk_codestar::operation::create_user_profile::builders::CreateUserProfileInputBuilder
source · #[non_exhaustive]pub struct CreateUserProfileInputBuilder { /* private fields */ }
Expand description
A builder for CreateUserProfileInput
.
Implementations§
source§impl CreateUserProfileInputBuilder
impl CreateUserProfileInputBuilder
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.
sourcepub fn build(self) -> Result<CreateUserProfileInput, BuildError>
pub fn build(self) -> Result<CreateUserProfileInput, BuildError>
Consumes the builder and constructs a CreateUserProfileInput
.
source§impl CreateUserProfileInputBuilder
impl CreateUserProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateUserProfileOutput, SdkError<CreateUserProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateUserProfileOutput, SdkError<CreateUserProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUserProfileInputBuilder
impl Clone for CreateUserProfileInputBuilder
source§fn clone(&self) -> CreateUserProfileInputBuilder
fn clone(&self) -> CreateUserProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateUserProfileInputBuilder
impl Default for CreateUserProfileInputBuilder
source§fn default() -> CreateUserProfileInputBuilder
fn default() -> CreateUserProfileInputBuilder
source§impl PartialEq<CreateUserProfileInputBuilder> for CreateUserProfileInputBuilder
impl PartialEq<CreateUserProfileInputBuilder> for CreateUserProfileInputBuilder
source§fn eq(&self, other: &CreateUserProfileInputBuilder) -> bool
fn eq(&self, other: &CreateUserProfileInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.