Struct aws_sdk_emr::model::cloud_watch_alarm_definition::Builder
source ·
[−]#[non_exhaustive]pub struct Builder { /* fields omitted */ }Expand description
A builder for CloudWatchAlarmDefinition
Implementations
Determines how the metric specified by MetricName is compared to the value specified by Threshold.
Determines how the metric specified by MetricName is compared to the value specified by Threshold.
The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is 1.
The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is 1.
The name of the CloudWatch metric that is watched to determine an alarm condition.
The name of the CloudWatch metric that is watched to determine an alarm condition.
The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce.
The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce.
The period, in seconds, over which the statistic is applied. EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300.
The period, in seconds, over which the statistic is applied. EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300.
The statistic to apply to the metric associated with the alarm. The default is AVERAGE.
The statistic to apply to the metric associated with the alarm. The default is AVERAGE.
The value against which the specified statistic is compared.
The value against which the specified statistic is compared.
The unit of measure associated with the CloudWatch metric being watched. The value specified for Unit must correspond to the units specified in the CloudWatch metric.
The unit of measure associated with the CloudWatch metric being watched. The value specified for Unit must correspond to the units specified in the CloudWatch metric.
Appends an item to dimensions.
To override the contents of this collection use set_dimensions.
A CloudWatch metric dimension.
A CloudWatch metric dimension.
Consumes the builder and constructs a CloudWatchAlarmDefinition
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
