#[non_exhaustive]pub struct CreateRulesetInput {
pub name: Option<String>,
pub description: Option<String>,
pub target_arn: Option<String>,
pub rules: Option<Vec<Rule>>,
pub tags: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
description: Option<String>
The description of the ruleset.
target_arn: Option<String>
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
rules: 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.
Metadata tags to apply to the ruleset.
Implementations§
source§impl CreateRulesetInput
impl CreateRulesetInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
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) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the ruleset.
sourcepub fn target_arn(&self) -> Option<&str>
pub fn target_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
sourcepub fn rules(&self) -> &[Rule]
pub fn rules(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rules.is_none()
.
Metadata tags to apply to the ruleset.
source§impl CreateRulesetInput
impl CreateRulesetInput
sourcepub fn builder() -> CreateRulesetInputBuilder
pub fn builder() -> CreateRulesetInputBuilder
Creates a new builder-style object to manufacture CreateRulesetInput
.
Trait Implementations§
source§impl Clone for CreateRulesetInput
impl Clone for CreateRulesetInput
source§fn clone(&self) -> CreateRulesetInput
fn clone(&self) -> CreateRulesetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRulesetInput
impl Debug for CreateRulesetInput
source§impl PartialEq for CreateRulesetInput
impl PartialEq for CreateRulesetInput
impl StructuralPartialEq for CreateRulesetInput
Auto Trait Implementations§
impl Freeze for CreateRulesetInput
impl RefUnwindSafe for CreateRulesetInput
impl Send for CreateRulesetInput
impl Sync for CreateRulesetInput
impl Unpin for CreateRulesetInput
impl UnwindSafe for CreateRulesetInput
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