Struct aws_sdk_databrew::client::fluent_builders::CreateRuleset
source · pub struct CreateRuleset { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateRuleset
.
Creates a new ruleset that can be used in a profile job to validate the data quality of a dataset.
Implementations§
source§impl CreateRuleset
impl CreateRuleset
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateRuleset, AwsResponseRetryClassifier>, SdkError<CreateRulesetError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateRuleset, AwsResponseRetryClassifier>, SdkError<CreateRulesetError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateRulesetOutput, SdkError<CreateRulesetError>>
pub async fn send(
self
) -> Result<CreateRulesetOutput, SdkError<CreateRulesetError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
Trait Implementations§
source§impl Clone for CreateRuleset
impl Clone for CreateRuleset
source§fn clone(&self) -> CreateRuleset
fn clone(&self) -> CreateRuleset
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more