Struct aws_sdk_securityhub::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder
source · pub struct BatchUpdateAutomationRulesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchUpdateAutomationRules
.
Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and input parameters.
Implementations§
source§impl BatchUpdateAutomationRulesFluentBuilder
impl BatchUpdateAutomationRulesFluentBuilder
sourcepub fn as_input(&self) -> &BatchUpdateAutomationRulesInputBuilder
pub fn as_input(&self) -> &BatchUpdateAutomationRulesInputBuilder
Access the BatchUpdateAutomationRules as a reference.
sourcepub async fn send(
self
) -> Result<BatchUpdateAutomationRulesOutput, SdkError<BatchUpdateAutomationRulesError, HttpResponse>>
pub async fn send( self ) -> Result<BatchUpdateAutomationRulesOutput, SdkError<BatchUpdateAutomationRulesError, 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<BatchUpdateAutomationRulesOutput, BatchUpdateAutomationRulesError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchUpdateAutomationRulesOutput, BatchUpdateAutomationRulesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 UpdateAutomationRulesRequestItems
.
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
.
Trait Implementations§
source§impl Clone for BatchUpdateAutomationRulesFluentBuilder
impl Clone for BatchUpdateAutomationRulesFluentBuilder
source§fn clone(&self) -> BatchUpdateAutomationRulesFluentBuilder
fn clone(&self) -> BatchUpdateAutomationRulesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for BatchUpdateAutomationRulesFluentBuilder
impl !RefUnwindSafe for BatchUpdateAutomationRulesFluentBuilder
impl Send for BatchUpdateAutomationRulesFluentBuilder
impl Sync for BatchUpdateAutomationRulesFluentBuilder
impl Unpin for BatchUpdateAutomationRulesFluentBuilder
impl !UnwindSafe for BatchUpdateAutomationRulesFluentBuilder
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
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>
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>
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 more