Struct aws_sdk_macie2::types::builders::S3JobDefinitionBuilder
source · #[non_exhaustive]pub struct S3JobDefinitionBuilder { /* private fields */ }
Expand description
A builder for S3JobDefinition
.
Implementations§
source§impl S3JobDefinitionBuilder
impl S3JobDefinitionBuilder
sourcepub fn bucket_criteria(self, input: S3BucketCriteriaForJob) -> Self
pub fn bucket_criteria(self, input: S3BucketCriteriaForJob) -> Self
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
sourcepub fn set_bucket_criteria(self, input: Option<S3BucketCriteriaForJob>) -> Self
pub fn set_bucket_criteria(self, input: Option<S3BucketCriteriaForJob>) -> Self
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
sourcepub fn get_bucket_criteria(&self) -> &Option<S3BucketCriteriaForJob>
pub fn get_bucket_criteria(&self) -> &Option<S3BucketCriteriaForJob>
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
sourcepub fn bucket_definitions(self, input: S3BucketDefinitionForJob) -> Self
pub fn bucket_definitions(self, input: S3BucketDefinitionForJob) -> Self
Appends an item to bucket_definitions
.
To override the contents of this collection use set_bucket_definitions
.
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
sourcepub fn set_bucket_definitions(
self,
input: Option<Vec<S3BucketDefinitionForJob>>
) -> Self
pub fn set_bucket_definitions( self, input: Option<Vec<S3BucketDefinitionForJob>> ) -> Self
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
sourcepub fn get_bucket_definitions(&self) -> &Option<Vec<S3BucketDefinitionForJob>>
pub fn get_bucket_definitions(&self) -> &Option<Vec<S3BucketDefinitionForJob>>
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
sourcepub fn scoping(self, input: Scoping) -> Self
pub fn scoping(self, input: Scoping) -> Self
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
sourcepub fn set_scoping(self, input: Option<Scoping>) -> Self
pub fn set_scoping(self, input: Option<Scoping>) -> Self
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
sourcepub fn get_scoping(&self) -> &Option<Scoping>
pub fn get_scoping(&self) -> &Option<Scoping>
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
sourcepub fn build(self) -> S3JobDefinition
pub fn build(self) -> S3JobDefinition
Consumes the builder and constructs a S3JobDefinition
.
Trait Implementations§
source§impl Clone for S3JobDefinitionBuilder
impl Clone for S3JobDefinitionBuilder
source§fn clone(&self) -> S3JobDefinitionBuilder
fn clone(&self) -> S3JobDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3JobDefinitionBuilder
impl Debug for S3JobDefinitionBuilder
source§impl Default for S3JobDefinitionBuilder
impl Default for S3JobDefinitionBuilder
source§fn default() -> S3JobDefinitionBuilder
fn default() -> S3JobDefinitionBuilder
source§impl PartialEq for S3JobDefinitionBuilder
impl PartialEq for S3JobDefinitionBuilder
source§fn eq(&self, other: &S3JobDefinitionBuilder) -> bool
fn eq(&self, other: &S3JobDefinitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.