Struct aws_sdk_macie2::types::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() -> 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
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 ==
.impl StructuralPartialEq for JobScopeTerm
Auto Trait Implementations§
impl RefUnwindSafe for JobScopeTerm
impl Send for JobScopeTerm
impl Sync for JobScopeTerm
impl Unpin for JobScopeTerm
impl UnwindSafe for JobScopeTerm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more