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 ==
.impl StructuralPartialEq for InsightResultsBuilder
Auto Trait Implementations§
impl Freeze for InsightResultsBuilder
impl RefUnwindSafe for InsightResultsBuilder
impl Send for InsightResultsBuilder
impl Sync for InsightResultsBuilder
impl Unpin for InsightResultsBuilder
impl UnwindSafe for InsightResultsBuilder
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
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>
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>
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 more