Struct aws_sdk_codestar::operation::associate_team_member::builders::AssociateTeamMemberInputBuilder
source · #[non_exhaustive]pub struct AssociateTeamMemberInputBuilder { /* private fields */ }
Expand description
A builder for AssociateTeamMemberInput
.
Implementations§
source§impl AssociateTeamMemberInputBuilder
impl AssociateTeamMemberInputBuilder
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 to which you will add the IAM user.
This field is required.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 to which you will add the IAM user.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The ID of the project to which you will add the IAM user.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.
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) for the IAM user you want to add to the AWS CodeStar project.
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) for the IAM user you want to add to the AWS CodeStar project.
sourcepub fn get_user_arn(&self) -> &Option<String>
pub fn get_user_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.
sourcepub fn project_role(self, input: impl Into<String>) -> Self
pub fn project_role(self, input: impl Into<String>) -> Self
The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.
This field is required.sourcepub fn set_project_role(self, input: Option<String>) -> Self
pub fn set_project_role(self, input: Option<String>) -> Self
The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.
sourcepub fn get_project_role(&self) -> &Option<String>
pub fn get_project_role(&self) -> &Option<String>
The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.
sourcepub fn remote_access_allowed(self, input: bool) -> Self
pub fn remote_access_allowed(self, input: bool) -> Self
Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.
sourcepub fn set_remote_access_allowed(self, input: Option<bool>) -> Self
pub fn set_remote_access_allowed(self, input: Option<bool>) -> Self
Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.
sourcepub fn get_remote_access_allowed(&self) -> &Option<bool>
pub fn get_remote_access_allowed(&self) -> &Option<bool>
Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.
sourcepub fn build(self) -> Result<AssociateTeamMemberInput, BuildError>
pub fn build(self) -> Result<AssociateTeamMemberInput, BuildError>
Consumes the builder and constructs a AssociateTeamMemberInput
.
source§impl AssociateTeamMemberInputBuilder
impl AssociateTeamMemberInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateTeamMemberOutput, SdkError<AssociateTeamMemberError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateTeamMemberOutput, SdkError<AssociateTeamMemberError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateTeamMemberInputBuilder
impl Clone for AssociateTeamMemberInputBuilder
source§fn clone(&self) -> AssociateTeamMemberInputBuilder
fn clone(&self) -> AssociateTeamMemberInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateTeamMemberInputBuilder
impl Default for AssociateTeamMemberInputBuilder
source§fn default() -> AssociateTeamMemberInputBuilder
fn default() -> AssociateTeamMemberInputBuilder
source§impl PartialEq for AssociateTeamMemberInputBuilder
impl PartialEq for AssociateTeamMemberInputBuilder
source§fn eq(&self, other: &AssociateTeamMemberInputBuilder) -> bool
fn eq(&self, other: &AssociateTeamMemberInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.