Struct aws_sdk_cloud9::operation::update_environment_membership::builders::UpdateEnvironmentMembershipInputBuilder
source · #[non_exhaustive]pub struct UpdateEnvironmentMembershipInputBuilder { /* private fields */ }
Expand description
A builder for UpdateEnvironmentMembershipInput
.
Implementations§
source§impl UpdateEnvironmentMembershipInputBuilder
impl UpdateEnvironmentMembershipInputBuilder
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of the environment for the environment member whose settings you want to change.
This field is required.sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The ID of the environment for the environment member whose settings you want to change.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of the environment for the environment member whose settings you want to change.
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 environment member whose settings you want to change.
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) of the environment member whose settings you want to change.
sourcepub fn get_user_arn(&self) -> &Option<String>
pub fn get_user_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
sourcepub fn permissions(self, input: MemberPermissions) -> Self
pub fn permissions(self, input: MemberPermissions) -> Self
The replacement type of environment member permissions you want to associate with this environment member. Available values include:
-
read-only
: Has read-only access to the environment. -
read-write
: Has read-write access to the environment.
sourcepub fn set_permissions(self, input: Option<MemberPermissions>) -> Self
pub fn set_permissions(self, input: Option<MemberPermissions>) -> Self
The replacement type of environment member permissions you want to associate with this environment member. Available values include:
-
read-only
: Has read-only access to the environment. -
read-write
: Has read-write access to the environment.
sourcepub fn get_permissions(&self) -> &Option<MemberPermissions>
pub fn get_permissions(&self) -> &Option<MemberPermissions>
The replacement type of environment member permissions you want to associate with this environment member. Available values include:
-
read-only
: Has read-only access to the environment. -
read-write
: Has read-write access to the environment.
sourcepub fn build(self) -> Result<UpdateEnvironmentMembershipInput, BuildError>
pub fn build(self) -> Result<UpdateEnvironmentMembershipInput, BuildError>
Consumes the builder and constructs a UpdateEnvironmentMembershipInput
.
source§impl UpdateEnvironmentMembershipInputBuilder
impl UpdateEnvironmentMembershipInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateEnvironmentMembershipOutput, SdkError<UpdateEnvironmentMembershipError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateEnvironmentMembershipOutput, SdkError<UpdateEnvironmentMembershipError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateEnvironmentMembershipInputBuilder
impl Clone for UpdateEnvironmentMembershipInputBuilder
source§fn clone(&self) -> UpdateEnvironmentMembershipInputBuilder
fn clone(&self) -> UpdateEnvironmentMembershipInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateEnvironmentMembershipInputBuilder
impl Default for UpdateEnvironmentMembershipInputBuilder
source§fn default() -> UpdateEnvironmentMembershipInputBuilder
fn default() -> UpdateEnvironmentMembershipInputBuilder
source§impl PartialEq for UpdateEnvironmentMembershipInputBuilder
impl PartialEq for UpdateEnvironmentMembershipInputBuilder
source§fn eq(&self, other: &UpdateEnvironmentMembershipInputBuilder) -> bool
fn eq(&self, other: &UpdateEnvironmentMembershipInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.