Struct aws_sdk_securityhub::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesInputBuilder
source · #[non_exhaustive]pub struct BatchUpdateAutomationRulesInputBuilder { /* private fields */ }
Expand description
A builder for BatchUpdateAutomationRulesInput
.
Implementations§
source§impl BatchUpdateAutomationRulesInputBuilder
impl BatchUpdateAutomationRulesInputBuilder
sourcepub fn update_automation_rules_request_items(
self,
input: UpdateAutomationRulesRequestItem
) -> Self
pub fn update_automation_rules_request_items( self, input: UpdateAutomationRulesRequestItem ) -> Self
Appends an item to update_automation_rules_request_items
.
To override the contents of this collection use set_update_automation_rules_request_items
.
An array of ARNs for the rules that are to be updated. Optionally, you can also include RuleStatus
and RuleOrder
.
sourcepub fn set_update_automation_rules_request_items(
self,
input: Option<Vec<UpdateAutomationRulesRequestItem>>
) -> Self
pub fn set_update_automation_rules_request_items( self, input: Option<Vec<UpdateAutomationRulesRequestItem>> ) -> Self
An array of ARNs for the rules that are to be updated. Optionally, you can also include RuleStatus
and RuleOrder
.
sourcepub fn get_update_automation_rules_request_items(
&self
) -> &Option<Vec<UpdateAutomationRulesRequestItem>>
pub fn get_update_automation_rules_request_items( &self ) -> &Option<Vec<UpdateAutomationRulesRequestItem>>
An array of ARNs for the rules that are to be updated. Optionally, you can also include RuleStatus
and RuleOrder
.
sourcepub fn build(self) -> Result<BatchUpdateAutomationRulesInput, BuildError>
pub fn build(self) -> Result<BatchUpdateAutomationRulesInput, BuildError>
Consumes the builder and constructs a BatchUpdateAutomationRulesInput
.
source§impl BatchUpdateAutomationRulesInputBuilder
impl BatchUpdateAutomationRulesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchUpdateAutomationRulesOutput, SdkError<BatchUpdateAutomationRulesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchUpdateAutomationRulesOutput, SdkError<BatchUpdateAutomationRulesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchUpdateAutomationRulesInputBuilder
impl Clone for BatchUpdateAutomationRulesInputBuilder
source§fn clone(&self) -> BatchUpdateAutomationRulesInputBuilder
fn clone(&self) -> BatchUpdateAutomationRulesInputBuilder
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 BatchUpdateAutomationRulesInputBuilder
impl Default for BatchUpdateAutomationRulesInputBuilder
source§fn default() -> BatchUpdateAutomationRulesInputBuilder
fn default() -> BatchUpdateAutomationRulesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchUpdateAutomationRulesInputBuilder
impl PartialEq for BatchUpdateAutomationRulesInputBuilder
source§fn eq(&self, other: &BatchUpdateAutomationRulesInputBuilder) -> bool
fn eq(&self, other: &BatchUpdateAutomationRulesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchUpdateAutomationRulesInputBuilder
Auto Trait Implementations§
impl Freeze for BatchUpdateAutomationRulesInputBuilder
impl RefUnwindSafe for BatchUpdateAutomationRulesInputBuilder
impl Send for BatchUpdateAutomationRulesInputBuilder
impl Sync for BatchUpdateAutomationRulesInputBuilder
impl Unpin for BatchUpdateAutomationRulesInputBuilder
impl UnwindSafe for BatchUpdateAutomationRulesInputBuilder
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.