Struct aws_sdk_macie2::model::resources_affected::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResourcesAffected
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> ResourcesAffected
pub fn build(self) -> ResourcesAffected
Consumes the builder and constructs a ResourcesAffected
.