Struct aws_sdk_macie2::types::CriteriaForJob
source · #[non_exhaustive]pub struct CriteriaForJob {
pub simple_criterion: Option<SimpleCriterionForJob>,
pub tag_criterion: Option<TagCriterionForJob>,
}
Expand description
Specifies a property- or tag-based condition that defines criteria for including or excluding S3 buckets from a classification job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.simple_criterion: Option<SimpleCriterionForJob>
A property-based condition that defines a property, operator, and one or more values for including or excluding buckets from the job.
tag_criterion: Option<TagCriterionForJob>
A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding buckets from the job.
Implementations§
source§impl CriteriaForJob
impl CriteriaForJob
sourcepub fn simple_criterion(&self) -> Option<&SimpleCriterionForJob>
pub fn simple_criterion(&self) -> Option<&SimpleCriterionForJob>
A property-based condition that defines a property, operator, and one or more values for including or excluding buckets from the job.
sourcepub fn tag_criterion(&self) -> Option<&TagCriterionForJob>
pub fn tag_criterion(&self) -> Option<&TagCriterionForJob>
A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding buckets from the job.
source§impl CriteriaForJob
impl CriteriaForJob
sourcepub fn builder() -> CriteriaForJobBuilder
pub fn builder() -> CriteriaForJobBuilder
Creates a new builder-style object to manufacture CriteriaForJob
.
Trait Implementations§
source§impl Clone for CriteriaForJob
impl Clone for CriteriaForJob
source§fn clone(&self) -> CriteriaForJob
fn clone(&self) -> CriteriaForJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CriteriaForJob
impl Debug for CriteriaForJob
source§impl PartialEq for CriteriaForJob
impl PartialEq for CriteriaForJob
source§fn eq(&self, other: &CriteriaForJob) -> bool
fn eq(&self, other: &CriteriaForJob) -> bool
self
and other
values to be equal, and is used
by ==
.