Struct aws_sdk_inspector2::operation::batch_get_finding_details::builders::BatchGetFindingDetailsOutputBuilder
source · #[non_exhaustive]pub struct BatchGetFindingDetailsOutputBuilder { /* private fields */ }Expand description
A builder for BatchGetFindingDetailsOutput.
Implementations§
source§impl BatchGetFindingDetailsOutputBuilder
impl BatchGetFindingDetailsOutputBuilder
sourcepub fn finding_details(self, input: FindingDetail) -> Self
pub fn finding_details(self, input: FindingDetail) -> Self
Appends an item to finding_details.
To override the contents of this collection use set_finding_details.
A finding's vulnerability details.
sourcepub fn set_finding_details(self, input: Option<Vec<FindingDetail>>) -> Self
pub fn set_finding_details(self, input: Option<Vec<FindingDetail>>) -> Self
A finding's vulnerability details.
sourcepub fn get_finding_details(&self) -> &Option<Vec<FindingDetail>>
pub fn get_finding_details(&self) -> &Option<Vec<FindingDetail>>
A finding's vulnerability details.
sourcepub fn errors(self, input: FindingDetailsError) -> Self
pub fn errors(self, input: FindingDetailsError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
Error information for findings that details could not be returned for.
sourcepub fn set_errors(self, input: Option<Vec<FindingDetailsError>>) -> Self
pub fn set_errors(self, input: Option<Vec<FindingDetailsError>>) -> Self
Error information for findings that details could not be returned for.
sourcepub fn get_errors(&self) -> &Option<Vec<FindingDetailsError>>
pub fn get_errors(&self) -> &Option<Vec<FindingDetailsError>>
Error information for findings that details could not be returned for.
sourcepub fn build(self) -> BatchGetFindingDetailsOutput
pub fn build(self) -> BatchGetFindingDetailsOutput
Consumes the builder and constructs a BatchGetFindingDetailsOutput.
Trait Implementations§
source§impl Clone for BatchGetFindingDetailsOutputBuilder
impl Clone for BatchGetFindingDetailsOutputBuilder
source§fn clone(&self) -> BatchGetFindingDetailsOutputBuilder
fn clone(&self) -> BatchGetFindingDetailsOutputBuilder
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 BatchGetFindingDetailsOutputBuilder
impl Default for BatchGetFindingDetailsOutputBuilder
source§fn default() -> BatchGetFindingDetailsOutputBuilder
fn default() -> BatchGetFindingDetailsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchGetFindingDetailsOutputBuilder
impl PartialEq for BatchGetFindingDetailsOutputBuilder
source§fn eq(&self, other: &BatchGetFindingDetailsOutputBuilder) -> bool
fn eq(&self, other: &BatchGetFindingDetailsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchGetFindingDetailsOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetFindingDetailsOutputBuilder
impl RefUnwindSafe for BatchGetFindingDetailsOutputBuilder
impl Send for BatchGetFindingDetailsOutputBuilder
impl Sync for BatchGetFindingDetailsOutputBuilder
impl Unpin for BatchGetFindingDetailsOutputBuilder
impl UnwindSafe for BatchGetFindingDetailsOutputBuilder
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.