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 ==
.impl StructuralPartialEq for AssociateTeamMemberInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateTeamMemberInputBuilder
impl RefUnwindSafe for AssociateTeamMemberInputBuilder
impl Send for AssociateTeamMemberInputBuilder
impl Sync for AssociateTeamMemberInputBuilder
impl Unpin for AssociateTeamMemberInputBuilder
impl UnwindSafe for AssociateTeamMemberInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more