pub struct Builder { /* private fields */ }Expand description
A builder for BatchImportFindingsInput.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn findings(self, input: AwsSecurityFinding) -> Self
pub fn findings(self, input: AwsSecurityFinding) -> Self
Appends an item to findings.
To override the contents of this collection use set_findings.
A list of findings to import. To successfully import a finding, it must follow the Amazon Web Services Security Finding Format. Maximum of 100 findings per request.
sourcepub fn set_findings(self, input: Option<Vec<AwsSecurityFinding>>) -> Self
pub fn set_findings(self, input: Option<Vec<AwsSecurityFinding>>) -> Self
A list of findings to import. To successfully import a finding, it must follow the Amazon Web Services Security Finding Format. Maximum of 100 findings per request.
sourcepub fn build(self) -> Result<BatchImportFindingsInput, BuildError>
pub fn build(self) -> Result<BatchImportFindingsInput, BuildError>
Consumes the builder and constructs a BatchImportFindingsInput.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more