Struct aws_sdk_accessanalyzer::model::inline_archive_rule::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InlineArchiveRule
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_rule_name(self, input: Option<String>) -> Self
pub fn set_rule_name(self, input: Option<String>) -> Self
The name of the rule.
sourcepub fn filter(self, k: impl Into<String>, v: Criterion) -> Self
pub fn filter(self, k: impl Into<String>, v: Criterion) -> Self
Adds a key-value pair to filter
.
To override the contents of this collection use set_filter
.
The condition and values for a criterion.
sourcepub fn set_filter(self, input: Option<HashMap<String, Criterion>>) -> Self
pub fn set_filter(self, input: Option<HashMap<String, Criterion>>) -> Self
The condition and values for a criterion.
sourcepub fn build(self) -> InlineArchiveRule
pub fn build(self) -> InlineArchiveRule
Consumes the builder and constructs a InlineArchiveRule
.