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<ResourcesAffectedBuilder> for ResourcesAffectedBuilder
impl PartialEq<ResourcesAffectedBuilder> 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 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