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
sourceimpl 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.
sourceimpl SeverityLevel
impl SeverityLevel
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SeverityLevel
.
Trait Implementations
sourceimpl Clone for SeverityLevel
impl Clone for SeverityLevel
sourcefn clone(&self) -> SeverityLevel
fn clone(&self) -> SeverityLevel
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more