Struct aws_sdk_securityhub::operation::update_findings::builders::UpdateFindingsInputBuilder
source · #[non_exhaustive]pub struct UpdateFindingsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateFindingsInput
.
Implementations§
source§impl UpdateFindingsInputBuilder
impl UpdateFindingsInputBuilder
sourcepub fn filters(self, input: AwsSecurityFindingFilters) -> Self
pub fn filters(self, input: AwsSecurityFindingFilters) -> Self
A collection of attributes that specify which findings you want to update.
This field is required.sourcepub fn set_filters(self, input: Option<AwsSecurityFindingFilters>) -> Self
pub fn set_filters(self, input: Option<AwsSecurityFindingFilters>) -> Self
A collection of attributes that specify which findings you want to update.
sourcepub fn get_filters(&self) -> &Option<AwsSecurityFindingFilters>
pub fn get_filters(&self) -> &Option<AwsSecurityFindingFilters>
A collection of attributes that specify which findings you want to update.
sourcepub fn note(self, input: NoteUpdate) -> Self
pub fn note(self, input: NoteUpdate) -> Self
The updated note for the finding.
sourcepub fn set_note(self, input: Option<NoteUpdate>) -> Self
pub fn set_note(self, input: Option<NoteUpdate>) -> Self
The updated note for the finding.
sourcepub fn get_note(&self) -> &Option<NoteUpdate>
pub fn get_note(&self) -> &Option<NoteUpdate>
The updated note for the finding.
sourcepub fn record_state(self, input: RecordState) -> Self
pub fn record_state(self, input: RecordState) -> Self
The updated record state for the finding.
sourcepub fn set_record_state(self, input: Option<RecordState>) -> Self
pub fn set_record_state(self, input: Option<RecordState>) -> Self
The updated record state for the finding.
sourcepub fn get_record_state(&self) -> &Option<RecordState>
pub fn get_record_state(&self) -> &Option<RecordState>
The updated record state for the finding.
sourcepub fn build(self) -> Result<UpdateFindingsInput, BuildError>
pub fn build(self) -> Result<UpdateFindingsInput, BuildError>
Consumes the builder and constructs a UpdateFindingsInput
.
source§impl UpdateFindingsInputBuilder
impl UpdateFindingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateFindingsOutput, SdkError<UpdateFindingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateFindingsOutput, SdkError<UpdateFindingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateFindingsInputBuilder
impl Clone for UpdateFindingsInputBuilder
source§fn clone(&self) -> UpdateFindingsInputBuilder
fn clone(&self) -> UpdateFindingsInputBuilder
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 Debug for UpdateFindingsInputBuilder
impl Debug for UpdateFindingsInputBuilder
source§impl Default for UpdateFindingsInputBuilder
impl Default for UpdateFindingsInputBuilder
source§fn default() -> UpdateFindingsInputBuilder
fn default() -> UpdateFindingsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateFindingsInputBuilder
impl PartialEq for UpdateFindingsInputBuilder
source§fn eq(&self, other: &UpdateFindingsInputBuilder) -> bool
fn eq(&self, other: &UpdateFindingsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateFindingsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateFindingsInputBuilder
impl Send for UpdateFindingsInputBuilder
impl Sync for UpdateFindingsInputBuilder
impl Unpin for UpdateFindingsInputBuilder
impl UnwindSafe for UpdateFindingsInputBuilder
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.