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 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 build(self) -> Result<UpdateMemberSessionInput, BuildError>
pub fn build(self) -> Result<UpdateMemberSessionInput, BuildError>
Consumes the builder and constructs a UpdateMemberSessionInput
.
Trait Implementations§
source§impl Clone for UpdateMemberSessionInputBuilder
impl Clone for UpdateMemberSessionInputBuilder
source§fn clone(&self) -> UpdateMemberSessionInputBuilder
fn clone(&self) -> UpdateMemberSessionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateMemberSessionInputBuilder
impl Default for UpdateMemberSessionInputBuilder
source§fn default() -> UpdateMemberSessionInputBuilder
fn default() -> UpdateMemberSessionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateMemberSessionInputBuilder> for UpdateMemberSessionInputBuilder
impl PartialEq<UpdateMemberSessionInputBuilder> for UpdateMemberSessionInputBuilder
source§fn eq(&self, other: &UpdateMemberSessionInputBuilder) -> bool
fn eq(&self, other: &UpdateMemberSessionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.