Struct aws_sdk_securityhub::operation::batch_import_findings::builders::BatchImportFindingsInputBuilder
source · #[non_exhaustive]pub struct BatchImportFindingsInputBuilder { /* private fields */ }
Expand description
A builder for BatchImportFindingsInput
.
Implementations§
source§impl BatchImportFindingsInputBuilder
impl BatchImportFindingsInputBuilder
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 get_findings(&self) -> &Option<Vec<AwsSecurityFinding>>
pub fn get_findings(&self) -> &Option<Vec<AwsSecurityFinding>>
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
.
source§impl BatchImportFindingsInputBuilder
impl BatchImportFindingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchImportFindingsOutput, SdkError<BatchImportFindingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchImportFindingsOutput, SdkError<BatchImportFindingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchImportFindingsInputBuilder
impl Clone for BatchImportFindingsInputBuilder
source§fn clone(&self) -> BatchImportFindingsInputBuilder
fn clone(&self) -> BatchImportFindingsInputBuilder
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 BatchImportFindingsInputBuilder
impl Default for BatchImportFindingsInputBuilder
source§fn default() -> BatchImportFindingsInputBuilder
fn default() -> BatchImportFindingsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchImportFindingsInputBuilder
impl PartialEq for BatchImportFindingsInputBuilder
source§fn eq(&self, other: &BatchImportFindingsInputBuilder) -> bool
fn eq(&self, other: &BatchImportFindingsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchImportFindingsInputBuilder
Auto Trait Implementations§
impl Freeze for BatchImportFindingsInputBuilder
impl RefUnwindSafe for BatchImportFindingsInputBuilder
impl Send for BatchImportFindingsInputBuilder
impl Sync for BatchImportFindingsInputBuilder
impl Unpin for BatchImportFindingsInputBuilder
impl UnwindSafe for BatchImportFindingsInputBuilder
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.