Struct aws_sdk_codegurusecurity::operation::batch_get_findings::builders::BatchGetFindingsOutputBuilder
source · #[non_exhaustive]pub struct BatchGetFindingsOutputBuilder { /* private fields */ }
Expand description
A builder for BatchGetFindingsOutput
.
Implementations§
source§impl BatchGetFindingsOutputBuilder
impl BatchGetFindingsOutputBuilder
sourcepub fn findings(self, input: Finding) -> Self
pub fn findings(self, input: Finding) -> Self
Appends an item to findings
.
To override the contents of this collection use set_findings
.
A list of all requested findings.
sourcepub fn set_findings(self, input: Option<Vec<Finding>>) -> Self
pub fn set_findings(self, input: Option<Vec<Finding>>) -> Self
A list of all requested findings.
sourcepub fn get_findings(&self) -> &Option<Vec<Finding>>
pub fn get_findings(&self) -> &Option<Vec<Finding>>
A list of all requested findings.
sourcepub fn failed_findings(self, input: BatchGetFindingsError) -> Self
pub fn failed_findings(self, input: BatchGetFindingsError) -> Self
Appends an item to failed_findings
.
To override the contents of this collection use set_failed_findings
.
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the scanName
, findingId
, errorCode
and error message
.
sourcepub fn set_failed_findings(
self,
input: Option<Vec<BatchGetFindingsError>>
) -> Self
pub fn set_failed_findings( self, input: Option<Vec<BatchGetFindingsError>> ) -> Self
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the scanName
, findingId
, errorCode
and error message
.
sourcepub fn get_failed_findings(&self) -> &Option<Vec<BatchGetFindingsError>>
pub fn get_failed_findings(&self) -> &Option<Vec<BatchGetFindingsError>>
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the scanName
, findingId
, errorCode
and error message
.
sourcepub fn build(self) -> BatchGetFindingsOutput
pub fn build(self) -> BatchGetFindingsOutput
Consumes the builder and constructs a BatchGetFindingsOutput
.
Trait Implementations§
source§impl Clone for BatchGetFindingsOutputBuilder
impl Clone for BatchGetFindingsOutputBuilder
source§fn clone(&self) -> BatchGetFindingsOutputBuilder
fn clone(&self) -> BatchGetFindingsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetFindingsOutputBuilder
impl Default for BatchGetFindingsOutputBuilder
source§fn default() -> BatchGetFindingsOutputBuilder
fn default() -> BatchGetFindingsOutputBuilder
source§impl PartialEq<BatchGetFindingsOutputBuilder> for BatchGetFindingsOutputBuilder
impl PartialEq<BatchGetFindingsOutputBuilder> for BatchGetFindingsOutputBuilder
source§fn eq(&self, other: &BatchGetFindingsOutputBuilder) -> bool
fn eq(&self, other: &BatchGetFindingsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.