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 ==.impl StructuralPartialEq for UpdateEnvironmentMembershipInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateEnvironmentMembershipInputBuilder
impl RefUnwindSafe for UpdateEnvironmentMembershipInputBuilder
impl Send for UpdateEnvironmentMembershipInputBuilder
impl Sync for UpdateEnvironmentMembershipInputBuilder
impl Unpin for UpdateEnvironmentMembershipInputBuilder
impl UnwindSafe for UpdateEnvironmentMembershipInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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