Struct aws_sdk_codestar::operation::create_user_profile::builders::CreateUserProfileOutputBuilder
source · #[non_exhaustive]pub struct CreateUserProfileOutputBuilder { /* private fields */ }
Expand description
A builder for CreateUserProfileOutput
.
Implementations§
source§impl CreateUserProfileOutputBuilder
impl CreateUserProfileOutputBuilder
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.
This field is required.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 is 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 is 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 is 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 is 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 is 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 is 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. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user 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 in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user 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 in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user remote access to those resources.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The date the user profile was created, 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 the user profile was created, in timestamp format.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The date the user profile was created, in timestamp format.
sourcepub fn last_modified_timestamp(self, input: DateTime) -> Self
pub fn last_modified_timestamp(self, input: DateTime) -> Self
The date 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 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 the user profile was last modified, in timestamp format.
sourcepub fn build(self) -> Result<CreateUserProfileOutput, BuildError>
pub fn build(self) -> Result<CreateUserProfileOutput, BuildError>
Consumes the builder and constructs a CreateUserProfileOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateUserProfileOutputBuilder
impl Clone for CreateUserProfileOutputBuilder
source§fn clone(&self) -> CreateUserProfileOutputBuilder
fn clone(&self) -> CreateUserProfileOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateUserProfileOutputBuilder
impl Default for CreateUserProfileOutputBuilder
source§fn default() -> CreateUserProfileOutputBuilder
fn default() -> CreateUserProfileOutputBuilder
source§impl PartialEq for CreateUserProfileOutputBuilder
impl PartialEq for CreateUserProfileOutputBuilder
source§fn eq(&self, other: &CreateUserProfileOutputBuilder) -> bool
fn eq(&self, other: &CreateUserProfileOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUserProfileOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateUserProfileOutputBuilder
impl RefUnwindSafe for CreateUserProfileOutputBuilder
impl Send for CreateUserProfileOutputBuilder
impl Sync for CreateUserProfileOutputBuilder
impl Unpin for CreateUserProfileOutputBuilder
impl UnwindSafe for CreateUserProfileOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more