Struct aws_sdk_codecatalyst::types::builders::UserIdentityBuilder
source · #[non_exhaustive]pub struct UserIdentityBuilder { /* private fields */ }
Expand description
A builder for UserIdentity
.
Implementations§
source§impl UserIdentityBuilder
impl UserIdentityBuilder
sourcepub fn user_type(self, input: UserType) -> Self
pub fn user_type(self, input: UserType) -> Self
The role assigned to the user in a Amazon CodeCatalyst space or project when the event occurred.
sourcepub fn set_user_type(self, input: Option<UserType>) -> Self
pub fn set_user_type(self, input: Option<UserType>) -> Self
The role assigned to the user in a Amazon CodeCatalyst space or project when the event occurred.
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The display name of the user in Amazon CodeCatalyst.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The display name of the user in Amazon CodeCatalyst.
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account number of the user in Amazon Web Services, if any.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account number of the user in Amazon Web Services, if any.
sourcepub fn build(self) -> UserIdentity
pub fn build(self) -> UserIdentity
Consumes the builder and constructs a UserIdentity
.
Trait Implementations§
source§impl Clone for UserIdentityBuilder
impl Clone for UserIdentityBuilder
source§fn clone(&self) -> UserIdentityBuilder
fn clone(&self) -> UserIdentityBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UserIdentityBuilder
impl Debug for UserIdentityBuilder
source§impl Default for UserIdentityBuilder
impl Default for UserIdentityBuilder
source§fn default() -> UserIdentityBuilder
fn default() -> UserIdentityBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UserIdentityBuilder> for UserIdentityBuilder
impl PartialEq<UserIdentityBuilder> for UserIdentityBuilder
source§fn eq(&self, other: &UserIdentityBuilder) -> bool
fn eq(&self, other: &UserIdentityBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.