Struct aws_sdk_glue::operation::create_custom_entity_type::builders::CreateCustomEntityTypeInputBuilder
source · #[non_exhaustive]pub struct CreateCustomEntityTypeInputBuilder { /* private fields */ }
Expand description
A builder for CreateCustomEntityTypeInput
.
Implementations§
source§impl CreateCustomEntityTypeInputBuilder
impl CreateCustomEntityTypeInputBuilder
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.
This field is required.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.
This field is required.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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A list of tags applied to the custom entity type.
A list of tags applied to the custom entity type.
A list of tags applied to the custom entity type.
sourcepub fn build(self) -> Result<CreateCustomEntityTypeInput, BuildError>
pub fn build(self) -> Result<CreateCustomEntityTypeInput, BuildError>
Consumes the builder and constructs a CreateCustomEntityTypeInput
.
source§impl CreateCustomEntityTypeInputBuilder
impl CreateCustomEntityTypeInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateCustomEntityTypeOutput, SdkError<CreateCustomEntityTypeError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateCustomEntityTypeOutput, SdkError<CreateCustomEntityTypeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCustomEntityTypeInputBuilder
impl Clone for CreateCustomEntityTypeInputBuilder
source§fn clone(&self) -> CreateCustomEntityTypeInputBuilder
fn clone(&self) -> CreateCustomEntityTypeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateCustomEntityTypeInputBuilder
impl Default for CreateCustomEntityTypeInputBuilder
source§fn default() -> CreateCustomEntityTypeInputBuilder
fn default() -> CreateCustomEntityTypeInputBuilder
source§impl PartialEq for CreateCustomEntityTypeInputBuilder
impl PartialEq for CreateCustomEntityTypeInputBuilder
source§fn eq(&self, other: &CreateCustomEntityTypeInputBuilder) -> bool
fn eq(&self, other: &CreateCustomEntityTypeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCustomEntityTypeInputBuilder
Auto Trait Implementations§
impl Freeze for CreateCustomEntityTypeInputBuilder
impl RefUnwindSafe for CreateCustomEntityTypeInputBuilder
impl Send for CreateCustomEntityTypeInputBuilder
impl Sync for CreateCustomEntityTypeInputBuilder
impl Unpin for CreateCustomEntityTypeInputBuilder
impl UnwindSafe for CreateCustomEntityTypeInputBuilder
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