Struct aws_sdk_securityhub::operation::batch_import_findings::builders::BatchImportFindingsOutputBuilder
source · #[non_exhaustive]pub struct BatchImportFindingsOutputBuilder { /* private fields */ }
Expand description
A builder for BatchImportFindingsOutput
.
Implementations§
source§impl BatchImportFindingsOutputBuilder
impl BatchImportFindingsOutputBuilder
sourcepub fn failed_count(self, input: i32) -> Self
pub fn failed_count(self, input: i32) -> Self
The number of findings that failed to import.
This field is required.sourcepub fn set_failed_count(self, input: Option<i32>) -> Self
pub fn set_failed_count(self, input: Option<i32>) -> Self
The number of findings that failed to import.
sourcepub fn get_failed_count(&self) -> &Option<i32>
pub fn get_failed_count(&self) -> &Option<i32>
The number of findings that failed to import.
sourcepub fn success_count(self, input: i32) -> Self
pub fn success_count(self, input: i32) -> Self
The number of findings that were successfully imported.
This field is required.sourcepub fn set_success_count(self, input: Option<i32>) -> Self
pub fn set_success_count(self, input: Option<i32>) -> Self
The number of findings that were successfully imported.
sourcepub fn get_success_count(&self) -> &Option<i32>
pub fn get_success_count(&self) -> &Option<i32>
The number of findings that were successfully imported.
sourcepub fn failed_findings(self, input: ImportFindingsError) -> Self
pub fn failed_findings(self, input: ImportFindingsError) -> Self
Appends an item to failed_findings
.
To override the contents of this collection use set_failed_findings
.
The list of findings that failed to import.
sourcepub fn set_failed_findings(
self,
input: Option<Vec<ImportFindingsError>>
) -> Self
pub fn set_failed_findings( self, input: Option<Vec<ImportFindingsError>> ) -> Self
The list of findings that failed to import.
sourcepub fn get_failed_findings(&self) -> &Option<Vec<ImportFindingsError>>
pub fn get_failed_findings(&self) -> &Option<Vec<ImportFindingsError>>
The list of findings that failed to import.
sourcepub fn build(self) -> BatchImportFindingsOutput
pub fn build(self) -> BatchImportFindingsOutput
Consumes the builder and constructs a BatchImportFindingsOutput
.
Trait Implementations§
source§impl Clone for BatchImportFindingsOutputBuilder
impl Clone for BatchImportFindingsOutputBuilder
source§fn clone(&self) -> BatchImportFindingsOutputBuilder
fn clone(&self) -> BatchImportFindingsOutputBuilder
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 BatchImportFindingsOutputBuilder
impl Default for BatchImportFindingsOutputBuilder
source§fn default() -> BatchImportFindingsOutputBuilder
fn default() -> BatchImportFindingsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchImportFindingsOutputBuilder
impl PartialEq for BatchImportFindingsOutputBuilder
source§fn eq(&self, other: &BatchImportFindingsOutputBuilder) -> bool
fn eq(&self, other: &BatchImportFindingsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchImportFindingsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchImportFindingsOutputBuilder
impl Send for BatchImportFindingsOutputBuilder
impl Sync for BatchImportFindingsOutputBuilder
impl Unpin for BatchImportFindingsOutputBuilder
impl UnwindSafe for BatchImportFindingsOutputBuilder
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>
Creates a shared type from an unshared type.