Struct aws_sdk_macie2::operation::update_member_session::builders::UpdateMemberSessionInputBuilder
source · #[non_exhaustive]pub struct UpdateMemberSessionInputBuilder { /* private fields */ }Expand description
A builder for UpdateMemberSessionInput.
Implementations§
source§impl UpdateMemberSessionInputBuilder
impl UpdateMemberSessionInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn status(self, input: MacieStatus) -> Self
pub fn status(self, input: MacieStatus) -> Self
Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
This field is required.sourcepub fn set_status(self, input: Option<MacieStatus>) -> Self
pub fn set_status(self, input: Option<MacieStatus>) -> Self
Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
sourcepub fn get_status(&self) -> &Option<MacieStatus>
pub fn get_status(&self) -> &Option<MacieStatus>
Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
sourcepub fn build(self) -> Result<UpdateMemberSessionInput, BuildError>
pub fn build(self) -> Result<UpdateMemberSessionInput, BuildError>
Consumes the builder and constructs a UpdateMemberSessionInput.
source§impl UpdateMemberSessionInputBuilder
impl UpdateMemberSessionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateMemberSessionOutput, SdkError<UpdateMemberSessionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateMemberSessionOutput, SdkError<UpdateMemberSessionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateMemberSessionInputBuilder
impl Clone for UpdateMemberSessionInputBuilder
source§fn clone(&self) -> UpdateMemberSessionInputBuilder
fn clone(&self) -> UpdateMemberSessionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateMemberSessionInputBuilder
impl Default for UpdateMemberSessionInputBuilder
source§fn default() -> UpdateMemberSessionInputBuilder
fn default() -> UpdateMemberSessionInputBuilder
source§impl PartialEq for UpdateMemberSessionInputBuilder
impl PartialEq for UpdateMemberSessionInputBuilder
source§fn eq(&self, other: &UpdateMemberSessionInputBuilder) -> bool
fn eq(&self, other: &UpdateMemberSessionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateMemberSessionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateMemberSessionInputBuilder
impl RefUnwindSafe for UpdateMemberSessionInputBuilder
impl Send for UpdateMemberSessionInputBuilder
impl Sync for UpdateMemberSessionInputBuilder
impl Unpin for UpdateMemberSessionInputBuilder
impl UnwindSafe for UpdateMemberSessionInputBuilder
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