Struct aws_sdk_securityhub::operation::batch_delete_automation_rules::builders::BatchDeleteAutomationRulesInputBuilder
source · #[non_exhaustive]pub struct BatchDeleteAutomationRulesInputBuilder { /* private fields */ }
Expand description
A builder for BatchDeleteAutomationRulesInput
.
Implementations§
source§impl BatchDeleteAutomationRulesInputBuilder
impl BatchDeleteAutomationRulesInputBuilder
sourcepub fn automation_rules_arns(self, input: impl Into<String>) -> Self
pub fn automation_rules_arns(self, input: impl Into<String>) -> Self
Appends an item to automation_rules_arns
.
To override the contents of this collection use set_automation_rules_arns
.
A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.
sourcepub fn set_automation_rules_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_automation_rules_arns(self, input: Option<Vec<String>>) -> Self
A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.
sourcepub fn get_automation_rules_arns(&self) -> &Option<Vec<String>>
pub fn get_automation_rules_arns(&self) -> &Option<Vec<String>>
A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.
sourcepub fn build(self) -> Result<BatchDeleteAutomationRulesInput, BuildError>
pub fn build(self) -> Result<BatchDeleteAutomationRulesInput, BuildError>
Consumes the builder and constructs a BatchDeleteAutomationRulesInput
.
source§impl BatchDeleteAutomationRulesInputBuilder
impl BatchDeleteAutomationRulesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchDeleteAutomationRulesOutput, SdkError<BatchDeleteAutomationRulesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchDeleteAutomationRulesOutput, SdkError<BatchDeleteAutomationRulesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchDeleteAutomationRulesInputBuilder
impl Clone for BatchDeleteAutomationRulesInputBuilder
source§fn clone(&self) -> BatchDeleteAutomationRulesInputBuilder
fn clone(&self) -> BatchDeleteAutomationRulesInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BatchDeleteAutomationRulesInputBuilder
impl Default for BatchDeleteAutomationRulesInputBuilder
source§fn default() -> BatchDeleteAutomationRulesInputBuilder
fn default() -> BatchDeleteAutomationRulesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchDeleteAutomationRulesInputBuilder
impl PartialEq for BatchDeleteAutomationRulesInputBuilder
source§fn eq(&self, other: &BatchDeleteAutomationRulesInputBuilder) -> bool
fn eq(&self, other: &BatchDeleteAutomationRulesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchDeleteAutomationRulesInputBuilder
Auto Trait Implementations§
impl Freeze for BatchDeleteAutomationRulesInputBuilder
impl RefUnwindSafe for BatchDeleteAutomationRulesInputBuilder
impl Send for BatchDeleteAutomationRulesInputBuilder
impl Sync for BatchDeleteAutomationRulesInputBuilder
impl Unpin for BatchDeleteAutomationRulesInputBuilder
impl UnwindSafe for BatchDeleteAutomationRulesInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.