pub struct Builder { /* private fields */ }Expand description
A builder for BatchImportFindingsOutput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn failed_count(self, input: i32) -> Self
pub fn failed_count(self, input: i32) -> Self
The number of findings that failed to import.
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 success_count(self, input: i32) -> Self
pub fn success_count(self, input: i32) -> Self
The number of findings that were successfully imported.
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 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 build(self) -> BatchImportFindingsOutput
pub fn build(self) -> BatchImportFindingsOutput
Consumes the builder and constructs a BatchImportFindingsOutput.