#[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.
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 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 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.
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 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.
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 build(self) -> Result<UpdateAllowListInput, BuildError>
pub fn build(self) -> Result<UpdateAllowListInput, BuildError>
Consumes the builder and constructs a UpdateAllowListInput
.
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<UpdateAllowListInputBuilder> for UpdateAllowListInputBuilder
impl PartialEq<UpdateAllowListInputBuilder> 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 ==
.