Struct aws_sdk_macie2::model::JobScopeTerm
source · #[non_exhaustive]pub struct JobScopeTerm { /* private fields */ }
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.
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() -> Builder
pub fn builder() -> Builder
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
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 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
This method tests for
self
and other
values to be equal, and is used
by ==
.