Struct aws_sdk_devopsguru::types::builders::ProactiveInsightBuilder
source · #[non_exhaustive]pub struct ProactiveInsightBuilder { /* private fields */ }
Expand description
A builder for ProactiveInsight
.
Implementations§
source§impl ProactiveInsightBuilder
impl ProactiveInsightBuilder
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 ssm_ops_item_id(self, input: impl Into<String>) -> Self
pub fn ssm_ops_item_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
sourcepub fn set_ssm_ops_item_id(self, input: Option<String>) -> Self
pub fn set_ssm_ops_item_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
sourcepub fn get_ssm_ops_item_id(&self) -> &Option<String>
pub fn get_ssm_ops_item_id(&self) -> &Option<String>
The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Describes the proactive insight.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Describes the proactive insight.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Describes the proactive insight.
sourcepub fn build(self) -> ProactiveInsight
pub fn build(self) -> ProactiveInsight
Consumes the builder and constructs a ProactiveInsight
.
Trait Implementations§
source§impl Clone for ProactiveInsightBuilder
impl Clone for ProactiveInsightBuilder
source§fn clone(&self) -> ProactiveInsightBuilder
fn clone(&self) -> ProactiveInsightBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProactiveInsightBuilder
impl Debug for ProactiveInsightBuilder
source§impl Default for ProactiveInsightBuilder
impl Default for ProactiveInsightBuilder
source§fn default() -> ProactiveInsightBuilder
fn default() -> ProactiveInsightBuilder
source§impl PartialEq for ProactiveInsightBuilder
impl PartialEq for ProactiveInsightBuilder
source§fn eq(&self, other: &ProactiveInsightBuilder) -> bool
fn eq(&self, other: &ProactiveInsightBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProactiveInsightBuilder
Auto Trait Implementations§
impl Freeze for ProactiveInsightBuilder
impl RefUnwindSafe for ProactiveInsightBuilder
impl Send for ProactiveInsightBuilder
impl Sync for ProactiveInsightBuilder
impl Unpin for ProactiveInsightBuilder
impl UnwindSafe for ProactiveInsightBuilder
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