Struct aws_sdk_devopsguru::model::proactive_insight::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ProactiveInsight
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 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 build(self) -> ProactiveInsight
pub fn build(self) -> ProactiveInsight
Consumes the builder and constructs a ProactiveInsight
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more