Struct aws_sdk_glue::types::builders::CustomEntityTypeBuilder
source · #[non_exhaustive]pub struct CustomEntityTypeBuilder { /* private fields */ }Expand description
A builder for CustomEntityType.
Implementations§
source§impl CustomEntityTypeBuilder
impl CustomEntityTypeBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
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 set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &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.
sourcepub fn regex_string(self, input: impl Into<String>) -> Self
pub fn regex_string(self, input: impl Into<String>) -> Self
A regular expression string that is used for detecting sensitive data in a custom pattern.
sourcepub fn set_regex_string(self, input: Option<String>) -> Self
pub fn set_regex_string(self, input: Option<String>) -> Self
A regular expression string that is used for detecting sensitive data in a custom pattern.
sourcepub fn get_regex_string(&self) -> &Option<String>
pub fn get_regex_string(&self) -> &Option<String>
A regular expression string that is used for detecting sensitive data in a custom pattern.
sourcepub fn context_words(self, input: impl Into<String>) -> Self
pub fn context_words(self, input: impl Into<String>) -> Self
Appends an item to context_words.
To override the contents of this collection use set_context_words.
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.
sourcepub fn set_context_words(self, input: Option<Vec<String>>) -> Self
pub fn set_context_words(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_context_words(&self) -> &Option<Vec<String>>
pub fn get_context_words(&self) -> &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.
sourcepub fn build(self) -> CustomEntityType
pub fn build(self) -> CustomEntityType
Consumes the builder and constructs a CustomEntityType.
Trait Implementations§
source§impl Clone for CustomEntityTypeBuilder
impl Clone for CustomEntityTypeBuilder
source§fn clone(&self) -> CustomEntityTypeBuilder
fn clone(&self) -> CustomEntityTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CustomEntityTypeBuilder
impl Debug for CustomEntityTypeBuilder
source§impl Default for CustomEntityTypeBuilder
impl Default for CustomEntityTypeBuilder
source§fn default() -> CustomEntityTypeBuilder
fn default() -> CustomEntityTypeBuilder
source§impl PartialEq<CustomEntityTypeBuilder> for CustomEntityTypeBuilder
impl PartialEq<CustomEntityTypeBuilder> for CustomEntityTypeBuilder
source§fn eq(&self, other: &CustomEntityTypeBuilder) -> bool
fn eq(&self, other: &CustomEntityTypeBuilder) -> bool
self and other values to be equal, and is used
by ==.