#[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
impl StructuralPartialEq for CreateRulesetInputBuilder
Auto Trait Implementations§
impl Freeze for CreateRulesetInputBuilder
impl RefUnwindSafe for CreateRulesetInputBuilder
impl Send for CreateRulesetInputBuilder
impl Sync for CreateRulesetInputBuilder
impl Unpin for CreateRulesetInputBuilder
impl UnwindSafe for CreateRulesetInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more