Struct aws_sdk_inspector2::operation::batch_get_code_snippet::builders::BatchGetCodeSnippetFluentBuilder
source · pub struct BatchGetCodeSnippetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetCodeSnippet
.
Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
Implementations§
source§impl BatchGetCodeSnippetFluentBuilder
impl BatchGetCodeSnippetFluentBuilder
sourcepub fn as_input(&self) -> &BatchGetCodeSnippetInputBuilder
pub fn as_input(&self) -> &BatchGetCodeSnippetInputBuilder
Access the BatchGetCodeSnippet as a reference.
sourcepub async fn send(
self
) -> Result<BatchGetCodeSnippetOutput, SdkError<BatchGetCodeSnippetError, HttpResponse>>
pub async fn send( self ) -> Result<BatchGetCodeSnippetOutput, SdkError<BatchGetCodeSnippetError, 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<BatchGetCodeSnippetOutput, BatchGetCodeSnippetError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchGetCodeSnippetOutput, BatchGetCodeSnippetError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn finding_arns(self, input: impl Into<String>) -> Self
pub fn finding_arns(self, input: impl Into<String>) -> Self
Appends an item to findingArns
.
To override the contents of this collection use set_finding_arns
.
An array of finding ARNs for the findings you want to retrieve code snippets from.
sourcepub fn set_finding_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_finding_arns(self, input: Option<Vec<String>>) -> Self
An array of finding ARNs for the findings you want to retrieve code snippets from.
sourcepub fn get_finding_arns(&self) -> &Option<Vec<String>>
pub fn get_finding_arns(&self) -> &Option<Vec<String>>
An array of finding ARNs for the findings you want to retrieve code snippets from.
Trait Implementations§
source§impl Clone for BatchGetCodeSnippetFluentBuilder
impl Clone for BatchGetCodeSnippetFluentBuilder
source§fn clone(&self) -> BatchGetCodeSnippetFluentBuilder
fn clone(&self) -> BatchGetCodeSnippetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more