Struct aws_sdk_macie2::operation::update_classification_scope::builders::UpdateClassificationScopeInputBuilder
source · #[non_exhaustive]pub struct UpdateClassificationScopeInputBuilder { /* private fields */ }
Expand description
A builder for UpdateClassificationScopeInput
.
Implementations§
source§impl UpdateClassificationScopeInputBuilder
impl UpdateClassificationScopeInputBuilder
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 s3(self, input: S3ClassificationScopeUpdate) -> Self
pub fn s3(self, input: S3ClassificationScopeUpdate) -> Self
The S3 buckets to add or remove from the exclusion list defined by the classification scope.
sourcepub fn set_s3(self, input: Option<S3ClassificationScopeUpdate>) -> Self
pub fn set_s3(self, input: Option<S3ClassificationScopeUpdate>) -> Self
The S3 buckets to add or remove from the exclusion list defined by the classification scope.
sourcepub fn get_s3(&self) -> &Option<S3ClassificationScopeUpdate>
pub fn get_s3(&self) -> &Option<S3ClassificationScopeUpdate>
The S3 buckets to add or remove from the exclusion list defined by the classification scope.
sourcepub fn build(self) -> Result<UpdateClassificationScopeInput, BuildError>
pub fn build(self) -> Result<UpdateClassificationScopeInput, BuildError>
Consumes the builder and constructs a UpdateClassificationScopeInput
.
source§impl UpdateClassificationScopeInputBuilder
impl UpdateClassificationScopeInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateClassificationScopeOutput, SdkError<UpdateClassificationScopeError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateClassificationScopeOutput, SdkError<UpdateClassificationScopeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateClassificationScopeInputBuilder
impl Clone for UpdateClassificationScopeInputBuilder
source§fn clone(&self) -> UpdateClassificationScopeInputBuilder
fn clone(&self) -> UpdateClassificationScopeInputBuilder
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 UpdateClassificationScopeInputBuilder
impl Default for UpdateClassificationScopeInputBuilder
source§fn default() -> UpdateClassificationScopeInputBuilder
fn default() -> UpdateClassificationScopeInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateClassificationScopeInputBuilder
impl PartialEq for UpdateClassificationScopeInputBuilder
source§fn eq(&self, other: &UpdateClassificationScopeInputBuilder) -> bool
fn eq(&self, other: &UpdateClassificationScopeInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateClassificationScopeInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateClassificationScopeInputBuilder
impl RefUnwindSafe for UpdateClassificationScopeInputBuilder
impl Send for UpdateClassificationScopeInputBuilder
impl Sync for UpdateClassificationScopeInputBuilder
impl Unpin for UpdateClassificationScopeInputBuilder
impl UnwindSafe for UpdateClassificationScopeInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.