Struct aws_sdk_codecatalyst::model::user_identity::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UserIdentity
.
Implementations§
source§impl Builder
impl Builder
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
.