Struct aws_sdk_macie2::types::builders::SeverityLevelBuilder
source · #[non_exhaustive]pub struct SeverityLevelBuilder { /* private fields */ }
Expand description
A builder for SeverityLevel
.
Implementations§
source§impl SeverityLevelBuilder
impl SeverityLevelBuilder
sourcepub fn occurrences_threshold(self, input: i64) -> Self
pub fn occurrences_threshold(self, input: i64) -> Self
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 set_occurrences_threshold(self, input: Option<i64>) -> Self
pub fn set_occurrences_threshold(self, input: Option<i64>) -> Self
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, input: DataIdentifierSeverity) -> Self
pub fn severity(self, input: DataIdentifierSeverity) -> Self
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.
sourcepub fn set_severity(self, input: Option<DataIdentifierSeverity>) -> Self
pub fn set_severity(self, input: Option<DataIdentifierSeverity>) -> Self
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.
sourcepub fn build(self) -> SeverityLevel
pub fn build(self) -> SeverityLevel
Consumes the builder and constructs a SeverityLevel
.
Trait Implementations§
source§impl Clone for SeverityLevelBuilder
impl Clone for SeverityLevelBuilder
source§fn clone(&self) -> SeverityLevelBuilder
fn clone(&self) -> SeverityLevelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SeverityLevelBuilder
impl Debug for SeverityLevelBuilder
source§impl Default for SeverityLevelBuilder
impl Default for SeverityLevelBuilder
source§fn default() -> SeverityLevelBuilder
fn default() -> SeverityLevelBuilder
source§impl PartialEq<SeverityLevelBuilder> for SeverityLevelBuilder
impl PartialEq<SeverityLevelBuilder> for SeverityLevelBuilder
source§fn eq(&self, other: &SeverityLevelBuilder) -> bool
fn eq(&self, other: &SeverityLevelBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.