#[non_exhaustive]pub struct UpdateAllowListInputBuilder { /* private fields */ }Expand description
A builder for UpdateAllowListInput.
Implementations§
source§impl UpdateAllowListInputBuilder
impl UpdateAllowListInputBuilder
sourcepub fn criteria(self, input: AllowListCriteria) -> Self
pub fn criteria(self, input: AllowListCriteria) -> Self
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
This field is required.sourcepub fn set_criteria(self, input: Option<AllowListCriteria>) -> Self
pub fn set_criteria(self, input: Option<AllowListCriteria>) -> Self
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
sourcepub fn get_criteria(&self) -> &Option<AllowListCriteria>
pub fn get_criteria(&self) -> &Option<AllowListCriteria>
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A custom description of the allow list. The description can contain as many as 512 characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A custom description of the allow list. The description can contain as many as 512 characters.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A custom description of the allow list. The description can contain as many as 512 characters.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A custom name for the allow list. The name can contain as many as 128 characters.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A custom name for the allow list. The name can contain as many as 128 characters.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A custom name for the allow list. The name can contain as many as 128 characters.
sourcepub fn build(self) -> Result<UpdateAllowListInput, BuildError>
pub fn build(self) -> Result<UpdateAllowListInput, BuildError>
Consumes the builder and constructs a UpdateAllowListInput.
source§impl UpdateAllowListInputBuilder
impl UpdateAllowListInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateAllowListOutput, SdkError<UpdateAllowListError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateAllowListOutput, SdkError<UpdateAllowListError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAllowListInputBuilder
impl Clone for UpdateAllowListInputBuilder
source§fn clone(&self) -> UpdateAllowListInputBuilder
fn clone(&self) -> UpdateAllowListInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateAllowListInputBuilder
impl Debug for UpdateAllowListInputBuilder
source§impl Default for UpdateAllowListInputBuilder
impl Default for UpdateAllowListInputBuilder
source§fn default() -> UpdateAllowListInputBuilder
fn default() -> UpdateAllowListInputBuilder
source§impl PartialEq for UpdateAllowListInputBuilder
impl PartialEq for UpdateAllowListInputBuilder
source§fn eq(&self, other: &UpdateAllowListInputBuilder) -> bool
fn eq(&self, other: &UpdateAllowListInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAllowListInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAllowListInputBuilder
impl RefUnwindSafe for UpdateAllowListInputBuilder
impl Send for UpdateAllowListInputBuilder
impl Sync for UpdateAllowListInputBuilder
impl Unpin for UpdateAllowListInputBuilder
impl UnwindSafe for UpdateAllowListInputBuilder
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