Struct aws_sdk_securityhub::operation::batch_get_automation_rules::builders::BatchGetAutomationRulesFluentBuilder
source · pub struct BatchGetAutomationRulesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetAutomationRules
.
Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs).
Implementations§
source§impl BatchGetAutomationRulesFluentBuilder
impl BatchGetAutomationRulesFluentBuilder
sourcepub fn as_input(&self) -> &BatchGetAutomationRulesInputBuilder
pub fn as_input(&self) -> &BatchGetAutomationRulesInputBuilder
Access the BatchGetAutomationRules as a reference.
sourcepub async fn send(
self
) -> Result<BatchGetAutomationRulesOutput, SdkError<BatchGetAutomationRulesError, HttpResponse>>
pub async fn send( self ) -> Result<BatchGetAutomationRulesOutput, SdkError<BatchGetAutomationRulesError, 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<BatchGetAutomationRulesOutput, BatchGetAutomationRulesError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchGetAutomationRulesOutput, BatchGetAutomationRulesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 AutomationRulesArns
.
To override the contents of this collection use set_automation_rules_arns
.
A list of rule ARNs to get details for.
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 rule ARNs to get details for.
sourcepub fn get_automation_rules_arns(&self) -> &Option<Vec<String>>
pub fn get_automation_rules_arns(&self) -> &Option<Vec<String>>
A list of rule ARNs to get details for.
Trait Implementations§
source§impl Clone for BatchGetAutomationRulesFluentBuilder
impl Clone for BatchGetAutomationRulesFluentBuilder
source§fn clone(&self) -> BatchGetAutomationRulesFluentBuilder
fn clone(&self) -> BatchGetAutomationRulesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more