Struct aws_sdk_macie2::model::SeverityLevel
source · #[non_exhaustive]pub struct SeverityLevel { /* private fields */ }
Expand description
Specifies a severity level for findings that a custom data identifier produces. A severity level determines which severity is assigned to the findings, based on the number of occurrences of text that matches the custom data identifier's detection criteria.
Implementations§
source§impl SeverityLevel
impl SeverityLevel
sourcepub fn occurrences_threshold(&self) -> i64
pub fn occurrences_threshold(&self) -> i64
The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).
sourcepub fn severity(&self) -> Option<&DataIdentifierSeverity>
pub fn severity(&self) -> Option<&DataIdentifierSeverity>
The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.
source§impl SeverityLevel
impl SeverityLevel
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SeverityLevel
.
Trait Implementations§
source§impl Clone for SeverityLevel
impl Clone for SeverityLevel
source§fn clone(&self) -> SeverityLevel
fn clone(&self) -> SeverityLevel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SeverityLevel
impl Debug for SeverityLevel
source§impl PartialEq<SeverityLevel> for SeverityLevel
impl PartialEq<SeverityLevel> for SeverityLevel
source§fn eq(&self, other: &SeverityLevel) -> bool
fn eq(&self, other: &SeverityLevel) -> bool
self
and other
values to be equal, and is used
by ==
.