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.
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.
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<UpdateMemberSessionInputBuilder> for UpdateMemberSessionInputBuilder
impl PartialEq<UpdateMemberSessionInputBuilder> 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 ==
.