#[non_exhaustive]pub struct DeleteAllowListInputBuilder { /* private fields */ }
Expand description
A builder for DeleteAllowListInput
.
Implementations§
source§impl DeleteAllowListInputBuilder
impl DeleteAllowListInputBuilder
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 ignore_job_checks(self, input: impl Into<String>) -> Self
pub fn ignore_job_checks(self, input: impl Into<String>) -> Self
Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.
When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.
sourcepub fn set_ignore_job_checks(self, input: Option<String>) -> Self
pub fn set_ignore_job_checks(self, input: Option<String>) -> Self
Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.
When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.
sourcepub fn get_ignore_job_checks(&self) -> &Option<String>
pub fn get_ignore_job_checks(&self) -> &Option<String>
Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.
When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.
sourcepub fn build(self) -> Result<DeleteAllowListInput, BuildError>
pub fn build(self) -> Result<DeleteAllowListInput, BuildError>
Consumes the builder and constructs a DeleteAllowListInput
.
source§impl DeleteAllowListInputBuilder
impl DeleteAllowListInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteAllowListOutput, SdkError<DeleteAllowListError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteAllowListOutput, SdkError<DeleteAllowListError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteAllowListInputBuilder
impl Clone for DeleteAllowListInputBuilder
source§fn clone(&self) -> DeleteAllowListInputBuilder
fn clone(&self) -> DeleteAllowListInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteAllowListInputBuilder
impl Debug for DeleteAllowListInputBuilder
source§impl Default for DeleteAllowListInputBuilder
impl Default for DeleteAllowListInputBuilder
source§fn default() -> DeleteAllowListInputBuilder
fn default() -> DeleteAllowListInputBuilder
source§impl PartialEq<DeleteAllowListInputBuilder> for DeleteAllowListInputBuilder
impl PartialEq<DeleteAllowListInputBuilder> for DeleteAllowListInputBuilder
source§fn eq(&self, other: &DeleteAllowListInputBuilder) -> bool
fn eq(&self, other: &DeleteAllowListInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.