Struct aws_sdk_codestar::types::builders::TeamMemberBuilder
source · #[non_exhaustive]pub struct TeamMemberBuilder { /* private fields */ }
Expand description
A builder for TeamMember
.
Implementations§
source§impl TeamMemberBuilder
impl TeamMemberBuilder
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 project_role(self, input: impl Into<String>) -> Self
pub fn project_role(self, input: impl Into<String>) -> Self
The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.
sourcepub fn set_project_role(self, input: Option<String>) -> Self
pub fn set_project_role(self, input: Option<String>) -> Self
The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.
sourcepub fn get_project_role(&self) -> &Option<String>
pub fn get_project_role(&self) -> &Option<String>
The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.
sourcepub fn remote_access_allowed(self, input: bool) -> Self
pub fn remote_access_allowed(self, input: bool) -> Self
Whether the user is allowed to remotely access project resources using an SSH public/private key pair.
sourcepub fn set_remote_access_allowed(self, input: Option<bool>) -> Self
pub fn set_remote_access_allowed(self, input: Option<bool>) -> Self
Whether the user is allowed to remotely access project resources using an SSH public/private key pair.
sourcepub fn get_remote_access_allowed(&self) -> &Option<bool>
pub fn get_remote_access_allowed(&self) -> &Option<bool>
Whether the user is allowed to remotely access project resources using an SSH public/private key pair.
sourcepub fn build(self) -> TeamMember
pub fn build(self) -> TeamMember
Consumes the builder and constructs a TeamMember
.
Trait Implementations§
source§impl Clone for TeamMemberBuilder
impl Clone for TeamMemberBuilder
source§fn clone(&self) -> TeamMemberBuilder
fn clone(&self) -> TeamMemberBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TeamMemberBuilder
impl Debug for TeamMemberBuilder
source§impl Default for TeamMemberBuilder
impl Default for TeamMemberBuilder
source§fn default() -> TeamMemberBuilder
fn default() -> TeamMemberBuilder
source§impl PartialEq<TeamMemberBuilder> for TeamMemberBuilder
impl PartialEq<TeamMemberBuilder> for TeamMemberBuilder
source§fn eq(&self, other: &TeamMemberBuilder) -> bool
fn eq(&self, other: &TeamMemberBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.