Struct aws_sdk_securityhub::types::builders::InsightBuilder
source · #[non_exhaustive]pub struct InsightBuilder { /* private fields */ }
Expand description
A builder for Insight
.
Implementations§
source§impl InsightBuilder
impl InsightBuilder
sourcepub fn insight_arn(self, input: impl Into<String>) -> Self
pub fn insight_arn(self, input: impl Into<String>) -> Self
The ARN of a Security Hub insight.
sourcepub fn set_insight_arn(self, input: Option<String>) -> Self
pub fn set_insight_arn(self, input: Option<String>) -> Self
The ARN of a Security Hub insight.
sourcepub fn get_insight_arn(&self) -> &Option<String>
pub fn get_insight_arn(&self) -> &Option<String>
The ARN of a Security Hub insight.
sourcepub fn filters(self, input: AwsSecurityFindingFilters) -> Self
pub fn filters(self, input: AwsSecurityFindingFilters) -> Self
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
sourcepub fn set_filters(self, input: Option<AwsSecurityFindingFilters>) -> Self
pub fn set_filters(self, input: Option<AwsSecurityFindingFilters>) -> Self
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
sourcepub fn get_filters(&self) -> &Option<AwsSecurityFindingFilters>
pub fn get_filters(&self) -> &Option<AwsSecurityFindingFilters>
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
sourcepub fn group_by_attribute(self, input: impl Into<String>) -> Self
pub fn group_by_attribute(self, input: impl Into<String>) -> Self
The grouping attribute for the insight's findings. Indicates how to group the matching findings, and identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
sourcepub fn set_group_by_attribute(self, input: Option<String>) -> Self
pub fn set_group_by_attribute(self, input: Option<String>) -> Self
The grouping attribute for the insight's findings. Indicates how to group the matching findings, and identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
sourcepub fn get_group_by_attribute(&self) -> &Option<String>
pub fn get_group_by_attribute(&self) -> &Option<String>
The grouping attribute for the insight's findings. Indicates how to group the matching findings, and identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
Trait Implementations§
source§impl Clone for InsightBuilder
impl Clone for InsightBuilder
source§fn clone(&self) -> InsightBuilder
fn clone(&self) -> InsightBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightBuilder
impl Debug for InsightBuilder
source§impl Default for InsightBuilder
impl Default for InsightBuilder
source§fn default() -> InsightBuilder
fn default() -> InsightBuilder
source§impl PartialEq for InsightBuilder
impl PartialEq for InsightBuilder
source§fn eq(&self, other: &InsightBuilder) -> bool
fn eq(&self, other: &InsightBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.