Struct aws_sdk_securityhub::types::builders::InsightResultsBuilder
source · #[non_exhaustive]pub struct InsightResultsBuilder { /* private fields */ }
Expand description
A builder for InsightResults
.
Implementations§
source§impl InsightResultsBuilder
impl InsightResultsBuilder
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 whose results are returned by the GetInsightResults
operation.
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 whose results are returned by the GetInsightResults
operation.
sourcepub fn get_insight_arn(&self) -> &Option<String>
pub fn get_insight_arn(&self) -> &Option<String>
The ARN of the insight whose results are returned by the GetInsightResults
operation.
sourcepub fn group_by_attribute(self, input: impl Into<String>) -> Self
pub fn group_by_attribute(self, input: impl Into<String>) -> Self
The attribute that the findings are grouped by for the insight whose results are returned by the GetInsightResults
operation.
sourcepub fn set_group_by_attribute(self, input: Option<String>) -> Self
pub fn set_group_by_attribute(self, input: Option<String>) -> Self
The attribute that the findings are grouped by for the insight whose results are returned by the GetInsightResults
operation.
sourcepub fn get_group_by_attribute(&self) -> &Option<String>
pub fn get_group_by_attribute(&self) -> &Option<String>
The attribute that the findings are grouped by for the insight whose results are returned by the GetInsightResults
operation.
sourcepub fn result_values(self, input: InsightResultValue) -> Self
pub fn result_values(self, input: InsightResultValue) -> Self
Appends an item to result_values
.
To override the contents of this collection use set_result_values
.
The list of insight result values returned by the GetInsightResults
operation.
sourcepub fn set_result_values(self, input: Option<Vec<InsightResultValue>>) -> Self
pub fn set_result_values(self, input: Option<Vec<InsightResultValue>>) -> Self
The list of insight result values returned by the GetInsightResults
operation.
sourcepub fn get_result_values(&self) -> &Option<Vec<InsightResultValue>>
pub fn get_result_values(&self) -> &Option<Vec<InsightResultValue>>
The list of insight result values returned by the GetInsightResults
operation.
sourcepub fn build(self) -> InsightResults
pub fn build(self) -> InsightResults
Consumes the builder and constructs a InsightResults
.
Trait Implementations§
source§impl Clone for InsightResultsBuilder
impl Clone for InsightResultsBuilder
source§fn clone(&self) -> InsightResultsBuilder
fn clone(&self) -> InsightResultsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightResultsBuilder
impl Debug for InsightResultsBuilder
source§impl Default for InsightResultsBuilder
impl Default for InsightResultsBuilder
source§fn default() -> InsightResultsBuilder
fn default() -> InsightResultsBuilder
source§impl PartialEq for InsightResultsBuilder
impl PartialEq for InsightResultsBuilder
source§fn eq(&self, other: &InsightResultsBuilder) -> bool
fn eq(&self, other: &InsightResultsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.