Struct aws_sdk_databrew::input::create_ruleset_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateRulesetInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
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 target_arn(self, input: impl Into<String>) -> Self
pub fn target_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
sourcepub fn set_target_arn(self, input: Option<String>) -> Self
pub fn set_target_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Metadata tags to apply to the ruleset.
Metadata tags to apply to the ruleset.
sourcepub fn build(self) -> Result<CreateRulesetInput, BuildError>
pub fn build(self) -> Result<CreateRulesetInput, BuildError>
Consumes the builder and constructs a CreateRulesetInput
.