Struct aws_sdk_macie2::types::JobScopeTerm
source · #[non_exhaustive]pub struct JobScopeTerm {
pub simple_scope_term: Option<SimpleScopeTerm>,
pub tag_scope_term: Option<TagScopeTerm>,
}
Expand description
Specifies a property- or tag-based condition that defines criteria for including or excluding S3 objects from a classification job. A JobScopeTerm object can contain only one simpleScopeTerm object or one tagScopeTerm object.
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_scope_term: Option<SimpleScopeTerm>
A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.
tag_scope_term: Option<TagScopeTerm>
A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.
Implementations§
source§impl JobScopeTerm
impl JobScopeTerm
sourcepub fn simple_scope_term(&self) -> Option<&SimpleScopeTerm>
pub fn simple_scope_term(&self) -> Option<&SimpleScopeTerm>
A property-based condition that defines a property, operator, and one or more values for including or excluding objects from the job.
sourcepub fn tag_scope_term(&self) -> Option<&TagScopeTerm>
pub fn tag_scope_term(&self) -> Option<&TagScopeTerm>
A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.
source§impl JobScopeTerm
impl JobScopeTerm
sourcepub fn builder() -> JobScopeTermBuilder
pub fn builder() -> JobScopeTermBuilder
Creates a new builder-style object to manufacture JobScopeTerm
.
Trait Implementations§
source§impl Clone for JobScopeTerm
impl Clone for JobScopeTerm
source§fn clone(&self) -> JobScopeTerm
fn clone(&self) -> JobScopeTerm
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobScopeTerm
impl Debug for JobScopeTerm
source§impl PartialEq<JobScopeTerm> for JobScopeTerm
impl PartialEq<JobScopeTerm> for JobScopeTerm
source§fn eq(&self, other: &JobScopeTerm) -> bool
fn eq(&self, other: &JobScopeTerm) -> bool
self
and other
values to be equal, and is used
by ==
.