Struct aws_sdk_macie2::model::finding_criteria::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FindingCriteria
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn criterion(
self,
k: impl Into<String>,
v: CriterionAdditionalProperties
) -> Self
pub fn criterion(
self,
k: impl Into<String>,
v: CriterionAdditionalProperties
) -> Self
Adds a key-value pair to criterion
.
To override the contents of this collection use set_criterion
.
A condition that specifies the property, operator, and one or more values to use to filter the results.
sourcepub fn set_criterion(
self,
input: Option<HashMap<String, CriterionAdditionalProperties>>
) -> Self
pub fn set_criterion(
self,
input: Option<HashMap<String, CriterionAdditionalProperties>>
) -> Self
A condition that specifies the property, operator, and one or more values to use to filter the results.
sourcepub fn build(self) -> FindingCriteria
pub fn build(self) -> FindingCriteria
Consumes the builder and constructs a FindingCriteria
.