Package | Description |
---|---|
com.amazonaws.services.cloudwatch.model |
Modifier and Type | Method and Description |
---|---|
MetricAlarm |
MetricAlarm.clone() |
MetricAlarm |
MetricAlarm.withActionsEnabled(Boolean actionsEnabled)
Indicates whether actions should be executed during any changes to the alarm state.
|
MetricAlarm |
MetricAlarm.withAlarmActions(Collection<String> alarmActions)
The actions to execute when this alarm transitions to the
ALARM state from any other state. |
MetricAlarm |
MetricAlarm.withAlarmActions(String... alarmActions)
The actions to execute when this alarm transitions to the
ALARM state from any other state. |
MetricAlarm |
MetricAlarm.withAlarmArn(String alarmArn)
The Amazon Resource Name (ARN) of the alarm.
|
MetricAlarm |
MetricAlarm.withAlarmConfigurationUpdatedTimestamp(Date alarmConfigurationUpdatedTimestamp)
The time stamp of the last update to the alarm configuration.
|
MetricAlarm |
MetricAlarm.withAlarmDescription(String alarmDescription)
The description of the alarm.
|
MetricAlarm |
MetricAlarm.withAlarmName(String alarmName)
The name of the alarm.
|
MetricAlarm |
MetricAlarm.withComparisonOperator(ComparisonOperator comparisonOperator)
The arithmetic operation to use when comparing the specified statistic and threshold.
|
MetricAlarm |
MetricAlarm.withComparisonOperator(String comparisonOperator)
The arithmetic operation to use when comparing the specified statistic and threshold.
|
MetricAlarm |
MetricAlarm.withDatapointsToAlarm(Integer datapointsToAlarm)
The number of data points that must be breaching to trigger the alarm.
|
MetricAlarm |
MetricAlarm.withDimensions(Collection<Dimension> dimensions)
The dimensions for the metric associated with the alarm.
|
MetricAlarm |
MetricAlarm.withDimensions(Dimension... dimensions)
The dimensions for the metric associated with the alarm.
|
MetricAlarm |
MetricAlarm.withEvaluateLowSampleCountPercentile(String evaluateLowSampleCountPercentile)
Used only for alarms based on percentiles.
|
MetricAlarm |
MetricAlarm.withEvaluationPeriods(Integer evaluationPeriods)
The number of periods over which data is compared to the specified threshold.
|
MetricAlarm |
MetricAlarm.withExtendedStatistic(String extendedStatistic)
The percentile statistic for the metric associated with the alarm.
|
MetricAlarm |
MetricAlarm.withInsufficientDataActions(Collection<String> insufficientDataActions)
The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA state from any other
state. |
MetricAlarm |
MetricAlarm.withInsufficientDataActions(String... insufficientDataActions)
The actions to execute when this alarm transitions to the
INSUFFICIENT_DATA state from any other
state. |
MetricAlarm |
MetricAlarm.withMetricName(String metricName)
The name of the metric associated with the alarm, if this is an alarm based on a single metric.
|
MetricAlarm |
MetricAlarm.withMetrics(Collection<MetricDataQuery> metrics)
An array of MetricDataQuery structures, used in an alarm based on a metric math expression.
|
MetricAlarm |
MetricAlarm.withMetrics(MetricDataQuery... metrics)
An array of MetricDataQuery structures, used in an alarm based on a metric math expression.
|
MetricAlarm |
MetricAlarm.withNamespace(String namespace)
The namespace of the metric associated with the alarm.
|
MetricAlarm |
MetricAlarm.withOKActions(Collection<String> oKActions)
The actions to execute when this alarm transitions to the
OK state from any other state. |
MetricAlarm |
MetricAlarm.withOKActions(String... oKActions)
The actions to execute when this alarm transitions to the
OK state from any other state. |
MetricAlarm |
MetricAlarm.withPeriod(Integer period)
The period, in seconds, over which the statistic is applied.
|
MetricAlarm |
MetricAlarm.withStateReason(String stateReason)
An explanation for the alarm state, in text format.
|
MetricAlarm |
MetricAlarm.withStateReasonData(String stateReasonData)
An explanation for the alarm state, in JSON format.
|
MetricAlarm |
MetricAlarm.withStateUpdatedTimestamp(Date stateUpdatedTimestamp)
The time stamp of the last update to the alarm state.
|
MetricAlarm |
MetricAlarm.withStateValue(StateValue stateValue)
The state value for the alarm.
|
MetricAlarm |
MetricAlarm.withStateValue(String stateValue)
The state value for the alarm.
|
MetricAlarm |
MetricAlarm.withStatistic(Statistic statistic)
The statistic for the metric associated with the alarm, other than percentile.
|
MetricAlarm |
MetricAlarm.withStatistic(String statistic)
The statistic for the metric associated with the alarm, other than percentile.
|
MetricAlarm |
MetricAlarm.withThreshold(Double threshold)
The value to compare with the specified statistic.
|
MetricAlarm |
MetricAlarm.withThresholdMetricId(String thresholdMetricId)
In an alarm based on an anomaly detection model, this is the ID of the
ANOMALY_DETECTION_BAND
function used as the threshold for the alarm. |
MetricAlarm |
MetricAlarm.withTreatMissingData(String treatMissingData)
Sets how this alarm is to handle missing data points.
|
MetricAlarm |
MetricAlarm.withUnit(StandardUnit unit)
The unit of the metric associated with the alarm.
|
MetricAlarm |
MetricAlarm.withUnit(String unit)
The unit of the metric associated with the alarm.
|
Modifier and Type | Method and Description |
---|---|
List<MetricAlarm> |
DescribeAlarmsResult.getMetricAlarms()
The information about any metric alarms returned by the operation.
|
List<MetricAlarm> |
DescribeAlarmsForMetricResult.getMetricAlarms()
The information for each alarm with the specified metric.
|
Modifier and Type | Method and Description |
---|---|
DescribeAlarmsResult |
DescribeAlarmsResult.withMetricAlarms(MetricAlarm... metricAlarms)
The information about any metric alarms returned by the operation.
|
DescribeAlarmsForMetricResult |
DescribeAlarmsForMetricResult.withMetricAlarms(MetricAlarm... metricAlarms)
The information for each alarm with the specified metric.
|
Modifier and Type | Method and Description |
---|---|
void |
DescribeAlarmsResult.setMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information about any metric alarms returned by the operation.
|
void |
DescribeAlarmsForMetricResult.setMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information for each alarm with the specified metric.
|
DescribeAlarmsResult |
DescribeAlarmsResult.withMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information about any metric alarms returned by the operation.
|
DescribeAlarmsForMetricResult |
DescribeAlarmsForMetricResult.withMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information for each alarm with the specified metric.
|
Copyright © 2020. All rights reserved.