#[non_exhaustive]pub struct UpdateInsightInputBuilder { /* private fields */ }Expand description
A builder for UpdateInsightInput.
Implementations§
source§impl UpdateInsightInputBuilder
 
impl UpdateInsightInputBuilder
sourcepub fn insight_arn(self, input: impl Into<String>) -> Self
 
pub fn insight_arn(self, input: impl Into<String>) -> Self
The ARN of the insight that you want to update.
This field is required.sourcepub fn set_insight_arn(self, input: Option<String>) -> Self
 
pub fn set_insight_arn(self, input: Option<String>) -> Self
The ARN of the insight that you want to update.
sourcepub fn get_insight_arn(&self) -> &Option<String>
 
pub fn get_insight_arn(&self) -> &Option<String>
The ARN of the insight that you want to update.
sourcepub fn filters(self, input: AwsSecurityFindingFilters) -> Self
 
pub fn filters(self, input: AwsSecurityFindingFilters) -> Self
The updated filters that define this insight.
sourcepub fn set_filters(self, input: Option<AwsSecurityFindingFilters>) -> Self
 
pub fn set_filters(self, input: Option<AwsSecurityFindingFilters>) -> Self
The updated filters that define this insight.
sourcepub fn get_filters(&self) -> &Option<AwsSecurityFindingFilters>
 
pub fn get_filters(&self) -> &Option<AwsSecurityFindingFilters>
The updated filters that define this insight.
sourcepub fn group_by_attribute(self, input: impl Into<String>) -> Self
 
pub fn group_by_attribute(self, input: impl Into<String>) -> Self
The updated GroupBy attribute that defines this insight.
sourcepub fn set_group_by_attribute(self, input: Option<String>) -> Self
 
pub fn set_group_by_attribute(self, input: Option<String>) -> Self
The updated GroupBy attribute that defines this insight.
sourcepub fn get_group_by_attribute(&self) -> &Option<String>
 
pub fn get_group_by_attribute(&self) -> &Option<String>
The updated GroupBy attribute that defines this insight.
sourcepub fn build(self) -> Result<UpdateInsightInput, BuildError>
 
pub fn build(self) -> Result<UpdateInsightInput, BuildError>
Consumes the builder and constructs a UpdateInsightInput.
source§impl UpdateInsightInputBuilder
 
impl UpdateInsightInputBuilder
sourcepub async fn send_with(
    self,
    client: &Client
) -> Result<UpdateInsightOutput, SdkError<UpdateInsightError, HttpResponse>>
 
pub async fn send_with( self, client: &Client ) -> Result<UpdateInsightOutput, SdkError<UpdateInsightError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateInsightInputBuilder
 
impl Clone for UpdateInsightInputBuilder
source§fn clone(&self) -> UpdateInsightInputBuilder
 
fn clone(&self) -> UpdateInsightInputBuilder
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 UpdateInsightInputBuilder
 
impl Debug for UpdateInsightInputBuilder
source§impl Default for UpdateInsightInputBuilder
 
impl Default for UpdateInsightInputBuilder
source§fn default() -> UpdateInsightInputBuilder
 
fn default() -> UpdateInsightInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateInsightInputBuilder
 
impl PartialEq for UpdateInsightInputBuilder
source§fn eq(&self, other: &UpdateInsightInputBuilder) -> bool
 
fn eq(&self, other: &UpdateInsightInputBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateInsightInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateInsightInputBuilder
impl RefUnwindSafe for UpdateInsightInputBuilder
impl Send for UpdateInsightInputBuilder
impl Sync for UpdateInsightInputBuilder
impl Unpin for UpdateInsightInputBuilder
impl UnwindSafe for UpdateInsightInputBuilder
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.