Struct aws_sdk_macie2::types::builders::ResourcesAffectedBuilder
source · #[non_exhaustive]pub struct ResourcesAffectedBuilder { /* private fields */ }Expand description
A builder for ResourcesAffected.
Implementations§
source§impl ResourcesAffectedBuilder
impl ResourcesAffectedBuilder
sourcepub fn s3_bucket(self, input: S3Bucket) -> Self
pub fn s3_bucket(self, input: S3Bucket) -> Self
The details of the S3 bucket that the finding applies to.
sourcepub fn set_s3_bucket(self, input: Option<S3Bucket>) -> Self
pub fn set_s3_bucket(self, input: Option<S3Bucket>) -> Self
The details of the S3 bucket that the finding applies to.
sourcepub fn get_s3_bucket(&self) -> &Option<S3Bucket>
pub fn get_s3_bucket(&self) -> &Option<S3Bucket>
The details of the S3 bucket that the finding applies to.
sourcepub fn s3_object(self, input: S3Object) -> Self
pub fn s3_object(self, input: S3Object) -> Self
The details of the S3 object that the finding applies to.
sourcepub fn set_s3_object(self, input: Option<S3Object>) -> Self
pub fn set_s3_object(self, input: Option<S3Object>) -> Self
The details of the S3 object that the finding applies to.
sourcepub fn get_s3_object(&self) -> &Option<S3Object>
pub fn get_s3_object(&self) -> &Option<S3Object>
The details of the S3 object that the finding applies to.
sourcepub fn build(self) -> ResourcesAffected
pub fn build(self) -> ResourcesAffected
Consumes the builder and constructs a ResourcesAffected.
Trait Implementations§
source§impl Clone for ResourcesAffectedBuilder
impl Clone for ResourcesAffectedBuilder
source§fn clone(&self) -> ResourcesAffectedBuilder
fn clone(&self) -> ResourcesAffectedBuilder
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 Debug for ResourcesAffectedBuilder
impl Debug for ResourcesAffectedBuilder
source§impl Default for ResourcesAffectedBuilder
impl Default for ResourcesAffectedBuilder
source§fn default() -> ResourcesAffectedBuilder
fn default() -> ResourcesAffectedBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResourcesAffectedBuilder
impl PartialEq for ResourcesAffectedBuilder
source§fn eq(&self, other: &ResourcesAffectedBuilder) -> bool
fn eq(&self, other: &ResourcesAffectedBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResourcesAffectedBuilder
Auto Trait Implementations§
impl Freeze for ResourcesAffectedBuilder
impl RefUnwindSafe for ResourcesAffectedBuilder
impl Send for ResourcesAffectedBuilder
impl Sync for ResourcesAffectedBuilder
impl Unpin for ResourcesAffectedBuilder
impl UnwindSafe for ResourcesAffectedBuilder
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.