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 moreAuto Trait Implementations§
impl Freeze for BatchGetCodeSnippetFluentBuilder
impl !RefUnwindSafe for BatchGetCodeSnippetFluentBuilder
impl Send for BatchGetCodeSnippetFluentBuilder
impl Sync for BatchGetCodeSnippetFluentBuilder
impl Unpin for BatchGetCodeSnippetFluentBuilder
impl !UnwindSafe for BatchGetCodeSnippetFluentBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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