#[non_exhaustive]pub struct ProactiveInsightSummaryBuilder { /* private fields */ }
Expand description
A builder for ProactiveInsightSummary
.
Implementations§
source§impl ProactiveInsightSummaryBuilder
impl ProactiveInsightSummaryBuilder
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 the proactive insight.
sourcepub fn set_status(self, input: Option<InsightStatus>) -> Self
pub fn set_status(self, input: Option<InsightStatus>) -> Self
The status of the proactive insight.
sourcepub fn get_status(&self) -> &Option<InsightStatus>
pub fn get_status(&self) -> &Option<InsightStatus>
The status of the proactive 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 prediction_time_range(self, input: PredictionTimeRange) -> Self
pub fn prediction_time_range(self, input: PredictionTimeRange) -> Self
The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.
sourcepub fn set_prediction_time_range(
self,
input: Option<PredictionTimeRange>
) -> Self
pub fn set_prediction_time_range( self, input: Option<PredictionTimeRange> ) -> Self
The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.
sourcepub fn get_prediction_time_range(&self) -> &Option<PredictionTimeRange>
pub fn get_prediction_time_range(&self) -> &Option<PredictionTimeRange>
The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.
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) -> ProactiveInsightSummary
pub fn build(self) -> ProactiveInsightSummary
Consumes the builder and constructs a ProactiveInsightSummary
.
Trait Implementations§
source§impl Clone for ProactiveInsightSummaryBuilder
impl Clone for ProactiveInsightSummaryBuilder
source§fn clone(&self) -> ProactiveInsightSummaryBuilder
fn clone(&self) -> ProactiveInsightSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ProactiveInsightSummaryBuilder
impl Default for ProactiveInsightSummaryBuilder
source§fn default() -> ProactiveInsightSummaryBuilder
fn default() -> ProactiveInsightSummaryBuilder
source§impl PartialEq for ProactiveInsightSummaryBuilder
impl PartialEq for ProactiveInsightSummaryBuilder
source§fn eq(&self, other: &ProactiveInsightSummaryBuilder) -> bool
fn eq(&self, other: &ProactiveInsightSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProactiveInsightSummaryBuilder
Auto Trait Implementations§
impl Freeze for ProactiveInsightSummaryBuilder
impl RefUnwindSafe for ProactiveInsightSummaryBuilder
impl Send for ProactiveInsightSummaryBuilder
impl Sync for ProactiveInsightSummaryBuilder
impl Unpin for ProactiveInsightSummaryBuilder
impl UnwindSafe for ProactiveInsightSummaryBuilder
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