pub struct UpdateAllowListFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateAllowList.
Updates the settings for an allow list.
Implementations§
source§impl UpdateAllowListFluentBuilder
impl UpdateAllowListFluentBuilder
sourcepub fn as_input(&self) -> &UpdateAllowListInputBuilder
pub fn as_input(&self) -> &UpdateAllowListInputBuilder
Access the UpdateAllowList as a reference.
sourcepub async fn send(
self
) -> Result<UpdateAllowListOutput, SdkError<UpdateAllowListError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateAllowListOutput, SdkError<UpdateAllowListError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateAllowListOutput, UpdateAllowListError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateAllowListOutput, UpdateAllowListError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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.
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.
Trait Implementations§
source§impl Clone for UpdateAllowListFluentBuilder
impl Clone for UpdateAllowListFluentBuilder
source§fn clone(&self) -> UpdateAllowListFluentBuilder
fn clone(&self) -> UpdateAllowListFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more