#[non_exhaustive]pub struct CreateRulesetInputBuilder { /* private fields */ }
Expand description
A builder for CreateRulesetInput
.
Implementations§
source§impl CreateRulesetInputBuilder
impl CreateRulesetInputBuilder
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.
This field is required.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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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.
This field is required.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 get_target_arn(&self) -> &Option<String>
pub fn get_target_arn(&self) -> &Option<String>
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.
sourcepub fn get_rules(&self) -> &Option<Vec<Rule>>
pub fn get_rules(&self) -> &Option<Vec<Rule>>
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.
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
.
source§impl CreateRulesetInputBuilder
impl CreateRulesetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRulesetOutput, SdkError<CreateRulesetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRulesetOutput, SdkError<CreateRulesetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRulesetInputBuilder
impl Clone for CreateRulesetInputBuilder
source§fn clone(&self) -> CreateRulesetInputBuilder
fn clone(&self) -> CreateRulesetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRulesetInputBuilder
impl Debug for CreateRulesetInputBuilder
source§impl Default for CreateRulesetInputBuilder
impl Default for CreateRulesetInputBuilder
source§fn default() -> CreateRulesetInputBuilder
fn default() -> CreateRulesetInputBuilder
source§impl PartialEq for CreateRulesetInputBuilder
impl PartialEq for CreateRulesetInputBuilder
source§fn eq(&self, other: &CreateRulesetInputBuilder) -> bool
fn eq(&self, other: &CreateRulesetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.