Struct aws_sdk_macie2::types::CustomDetection
source · #[non_exhaustive]pub struct CustomDetection { /* private fields */ }
Expand description
Provides information about a custom data identifier that produced a sensitive data finding, and the sensitive data that it detected for the finding.
Implementations§
source§impl CustomDetection
impl CustomDetection
sourcepub fn count(&self) -> i64
pub fn count(&self) -> i64
The total number of occurrences of the sensitive data that the custom data identifier detected.
sourcepub fn occurrences(&self) -> Option<&Occurrences>
pub fn occurrences(&self) -> Option<&Occurrences>
The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
source§impl CustomDetection
impl CustomDetection
sourcepub fn builder() -> CustomDetectionBuilder
pub fn builder() -> CustomDetectionBuilder
Creates a new builder-style object to manufacture CustomDetection
.
Trait Implementations§
source§impl Clone for CustomDetection
impl Clone for CustomDetection
source§fn clone(&self) -> CustomDetection
fn clone(&self) -> CustomDetection
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 CustomDetection
impl Debug for CustomDetection
source§impl PartialEq<CustomDetection> for CustomDetection
impl PartialEq<CustomDetection> for CustomDetection
source§fn eq(&self, other: &CustomDetection) -> bool
fn eq(&self, other: &CustomDetection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.