Struct aws_sdk_codestar::operation::update_team_member::builders::UpdateTeamMemberInputBuilder
source · #[non_exhaustive]pub struct UpdateTeamMemberInputBuilder { /* private fields */ }
Expand description
A builder for UpdateTeamMemberInput
.
Implementations§
source§impl UpdateTeamMemberInputBuilder
impl UpdateTeamMemberInputBuilder
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The ID of the project.
sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
The ID of the project.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The ID of the project.
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 for whom you want to change team membership attributes.
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 for whom you want to change team membership attributes.
sourcepub fn get_user_arn(&self) -> &Option<String>
pub fn get_user_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.
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 a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.
sourcepub fn set_remote_access_allowed(self, input: Option<bool>) -> Self
pub fn set_remote_access_allowed(self, input: Option<bool>) -> Self
Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.
sourcepub fn get_remote_access_allowed(&self) -> &Option<bool>
pub fn get_remote_access_allowed(&self) -> &Option<bool>
Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.
sourcepub fn build(self) -> Result<UpdateTeamMemberInput, BuildError>
pub fn build(self) -> Result<UpdateTeamMemberInput, BuildError>
Consumes the builder and constructs a UpdateTeamMemberInput
.
source§impl UpdateTeamMemberInputBuilder
impl UpdateTeamMemberInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateTeamMemberOutput, SdkError<UpdateTeamMemberError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateTeamMemberOutput, SdkError<UpdateTeamMemberError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTeamMemberInputBuilder
impl Clone for UpdateTeamMemberInputBuilder
source§fn clone(&self) -> UpdateTeamMemberInputBuilder
fn clone(&self) -> UpdateTeamMemberInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateTeamMemberInputBuilder
impl Debug for UpdateTeamMemberInputBuilder
source§impl Default for UpdateTeamMemberInputBuilder
impl Default for UpdateTeamMemberInputBuilder
source§fn default() -> UpdateTeamMemberInputBuilder
fn default() -> UpdateTeamMemberInputBuilder
source§impl PartialEq<UpdateTeamMemberInputBuilder> for UpdateTeamMemberInputBuilder
impl PartialEq<UpdateTeamMemberInputBuilder> for UpdateTeamMemberInputBuilder
source§fn eq(&self, other: &UpdateTeamMemberInputBuilder) -> bool
fn eq(&self, other: &UpdateTeamMemberInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.