#[non_exhaustive]pub struct ReactiveInsightSummaryBuilder { /* private fields */ }
Expand description
A builder for ReactiveInsightSummary
.
Implementations§
source§impl ReactiveInsightSummaryBuilder
impl ReactiveInsightSummaryBuilder
sourcepub fn severity(self, input: InsightSeverity) -> Self
pub fn severity(self, input: InsightSeverity) -> Self
The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
sourcepub fn set_severity(self, input: Option<InsightSeverity>) -> Self
pub fn set_severity(self, input: Option<InsightSeverity>) -> Self
The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
sourcepub fn get_severity(&self) -> &Option<InsightSeverity>
pub fn get_severity(&self) -> &Option<InsightSeverity>
The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
sourcepub fn status(self, input: InsightStatus) -> Self
pub fn status(self, input: InsightStatus) -> Self
The status of a reactive insight.
sourcepub fn set_status(self, input: Option<InsightStatus>) -> Self
pub fn set_status(self, input: Option<InsightStatus>) -> Self
The status of a reactive insight.
sourcepub fn get_status(&self) -> &Option<InsightStatus>
pub fn get_status(&self) -> &Option<InsightStatus>
The status of a reactive insight.
sourcepub fn insight_time_range(self, input: InsightTimeRange) -> Self
pub fn insight_time_range(self, input: InsightTimeRange) -> Self
A time ranged that specifies when the observed behavior in an insight started and ended.
sourcepub fn set_insight_time_range(self, input: Option<InsightTimeRange>) -> Self
pub fn set_insight_time_range(self, input: Option<InsightTimeRange>) -> Self
A time ranged that specifies when the observed behavior in an insight started and ended.
sourcepub fn get_insight_time_range(&self) -> &Option<InsightTimeRange>
pub fn get_insight_time_range(&self) -> &Option<InsightTimeRange>
A time ranged that specifies when the observed behavior in an insight started and ended.
sourcepub fn resource_collection(self, input: ResourceCollection) -> Self
pub fn resource_collection(self, input: ResourceCollection) -> Self
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn set_resource_collection(self, input: Option<ResourceCollection>) -> Self
pub fn set_resource_collection(self, input: Option<ResourceCollection>) -> Self
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn get_resource_collection(&self) -> &Option<ResourceCollection>
pub fn get_resource_collection(&self) -> &Option<ResourceCollection>
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn service_collection(self, input: ServiceCollection) -> Self
pub fn service_collection(self, input: ServiceCollection) -> Self
A collection of the names of Amazon Web Services services.
sourcepub fn set_service_collection(self, input: Option<ServiceCollection>) -> Self
pub fn set_service_collection(self, input: Option<ServiceCollection>) -> Self
A collection of the names of Amazon Web Services services.
sourcepub fn get_service_collection(&self) -> &Option<ServiceCollection>
pub fn get_service_collection(&self) -> &Option<ServiceCollection>
A collection of the names of Amazon Web Services services.
sourcepub fn associated_resource_arns(self, input: impl Into<String>) -> Self
pub fn associated_resource_arns(self, input: impl Into<String>) -> Self
Appends an item to associated_resource_arns
.
To override the contents of this collection use set_associated_resource_arns
.
The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.
sourcepub fn set_associated_resource_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_associated_resource_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.
sourcepub fn get_associated_resource_arns(&self) -> &Option<Vec<String>>
pub fn get_associated_resource_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.
sourcepub fn build(self) -> ReactiveInsightSummary
pub fn build(self) -> ReactiveInsightSummary
Consumes the builder and constructs a ReactiveInsightSummary
.
Trait Implementations§
source§impl Clone for ReactiveInsightSummaryBuilder
impl Clone for ReactiveInsightSummaryBuilder
source§fn clone(&self) -> ReactiveInsightSummaryBuilder
fn clone(&self) -> ReactiveInsightSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReactiveInsightSummaryBuilder
impl Default for ReactiveInsightSummaryBuilder
source§fn default() -> ReactiveInsightSummaryBuilder
fn default() -> ReactiveInsightSummaryBuilder
source§impl PartialEq for ReactiveInsightSummaryBuilder
impl PartialEq for ReactiveInsightSummaryBuilder
source§fn eq(&self, other: &ReactiveInsightSummaryBuilder) -> bool
fn eq(&self, other: &ReactiveInsightSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReactiveInsightSummaryBuilder
Auto Trait Implementations§
impl Freeze for ReactiveInsightSummaryBuilder
impl RefUnwindSafe for ReactiveInsightSummaryBuilder
impl Send for ReactiveInsightSummaryBuilder
impl Sync for ReactiveInsightSummaryBuilder
impl Unpin for ReactiveInsightSummaryBuilder
impl UnwindSafe for ReactiveInsightSummaryBuilder
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