#[non_exhaustive]pub struct CreateCustomEntityTypeInput {
pub name: Option<String>,
pub regex_string: Option<String>,
pub context_words: Option<Vec<String>>,
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>
A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.
regex_string: Option<String>
A regular expression string that is used for detecting sensitive data in a custom pattern.
context_words: Option<Vec<String>>
A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
If no context words are passed only a regular expression is checked.
A list of tags applied to the custom entity type.
Implementations§
source§impl CreateCustomEntityTypeInput
impl CreateCustomEntityTypeInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.
sourcepub fn regex_string(&self) -> Option<&str>
pub fn regex_string(&self) -> Option<&str>
A regular expression string that is used for detecting sensitive data in a custom pattern.
sourcepub fn context_words(&self) -> &[String]
pub fn context_words(&self) -> &[String]
A list of context words. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
If no context words are passed only a regular expression is checked.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .context_words.is_none()
.
A list of tags applied to the custom entity type.
source§impl CreateCustomEntityTypeInput
impl CreateCustomEntityTypeInput
sourcepub fn builder() -> CreateCustomEntityTypeInputBuilder
pub fn builder() -> CreateCustomEntityTypeInputBuilder
Creates a new builder-style object to manufacture CreateCustomEntityTypeInput
.
Trait Implementations§
source§impl Clone for CreateCustomEntityTypeInput
impl Clone for CreateCustomEntityTypeInput
source§fn clone(&self) -> CreateCustomEntityTypeInput
fn clone(&self) -> CreateCustomEntityTypeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCustomEntityTypeInput
impl Debug for CreateCustomEntityTypeInput
source§impl PartialEq for CreateCustomEntityTypeInput
impl PartialEq for CreateCustomEntityTypeInput
source§fn eq(&self, other: &CreateCustomEntityTypeInput) -> bool
fn eq(&self, other: &CreateCustomEntityTypeInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCustomEntityTypeInput
Auto Trait Implementations§
impl Freeze for CreateCustomEntityTypeInput
impl RefUnwindSafe for CreateCustomEntityTypeInput
impl Send for CreateCustomEntityTypeInput
impl Sync for CreateCustomEntityTypeInput
impl Unpin for CreateCustomEntityTypeInput
impl UnwindSafe for CreateCustomEntityTypeInput
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> 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