Struct aws_sdk_databrew::input::update_ruleset_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateRulesetInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the ruleset.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the ruleset.
sourcepub fn rules(self, input: Rule) -> Self
pub fn rules(self, input: Rule) -> Self
Appends an item to rules
.
To override the contents of this collection use set_rules
.
A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
sourcepub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
pub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
sourcepub fn build(self) -> Result<UpdateRulesetInput, BuildError>
pub fn build(self) -> Result<UpdateRulesetInput, BuildError>
Consumes the builder and constructs a UpdateRulesetInput
.