Java com.amazonaws.services.cloudwatch.model PutMetricAlarmRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.cloudwatch.model PutMetricAlarmRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.cloudwatch.model PutMetricAlarmRequest.

The text is from its open source code.

Constructor

Method

voidsetActionsEnabled(Boolean actionsEnabled)

Indicates whether actions should be executed during any changes to the alarm state.

voidsetAlarmActions(java.util.Collection alarmActions)

The actions to execute when this alarm transitions to the ALARM state from any other state.

voidsetAlarmName(String alarmName)

The name for the alarm.

voidsetComparisonOperator(String comparisonOperator)

The arithmetic operation to use when comparing the specified statistic and threshold.

voidsetComparisonOperator(ComparisonOperator comparisonOperator)

The arithmetic operation to use when comparing the specified statistic and threshold.

voidsetDimensions(java.util.Collection dimensions)

The dimensions for the metric specified in MetricName.

voidsetEvaluationPeriods(Integer evaluationPeriods)

The number of periods over which data is compared to the specified threshold.

voidsetInsufficientDataActions(java.util.Collection insufficientDataActions)

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state.

voidsetMetricName(String metricName)

The name for the metric associated with the alarm.

voidsetNamespace(String namespace)

The namespace for the metric associated specified in MetricName.

voidsetPeriod(Integer period)

The length, in seconds, used each time the metric specified in MetricName is evaluated.

voidsetStatistic(String statistic)

The statistic for the metric specified in MetricName, other than percentile.

voidsetStatistic(Statistic statistic)

The statistic for the metric specified in MetricName, other than percentile.

voidsetThreshold(Double threshold)

The value against which the specified statistic is compared.

voidsetUnit(String unit)

The unit of measure for the statistic.

voidsetUnit(StandardUnit unit)

The unit of measure for the statistic.

PutMetricAlarmRequestwithAlarmName(String alarmName)

The name for the alarm.