public static final class CfnCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCluster.CloudWatchAlarmDefinitionProperty
CfnCluster.CloudWatchAlarmDefinitionProperty
CfnCluster.CloudWatchAlarmDefinitionProperty.Builder, CfnCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getComparisonOperator()
Determines how the metric specified by `MetricName` is compared to the value specified by `Threshold` .
|
java.lang.Object |
getDimensions()
A CloudWatch metric dimension.
|
java.lang.Number |
getEvaluationPeriods()
The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity.
|
java.lang.String |
getMetricName()
The name of the CloudWatch metric that is watched to determine an alarm condition.
|
java.lang.String |
getNamespace()
The namespace for the CloudWatch metric.
|
java.lang.Number |
getPeriod()
The period, in seconds, over which the statistic is applied.
|
java.lang.String |
getStatistic()
The statistic to apply to the metric associated with the alarm.
|
java.lang.Number |
getThreshold()
The value against which the specified statistic is compared.
|
java.lang.String |
getUnit()
The unit of measure associated with the CloudWatch metric being watched.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getComparisonOperator()
CfnCluster.CloudWatchAlarmDefinitionProperty
getComparisonOperator
in interface CfnCluster.CloudWatchAlarmDefinitionProperty
public final java.lang.String getMetricName()
CfnCluster.CloudWatchAlarmDefinitionProperty
getMetricName
in interface CfnCluster.CloudWatchAlarmDefinitionProperty
public final java.lang.Number getPeriod()
CfnCluster.CloudWatchAlarmDefinitionProperty
EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300
.
getPeriod
in interface CfnCluster.CloudWatchAlarmDefinitionProperty
public final java.lang.Number getThreshold()
CfnCluster.CloudWatchAlarmDefinitionProperty
getThreshold
in interface CfnCluster.CloudWatchAlarmDefinitionProperty
public final java.lang.Object getDimensions()
CfnCluster.CloudWatchAlarmDefinitionProperty
getDimensions
in interface CfnCluster.CloudWatchAlarmDefinitionProperty
public final java.lang.Number getEvaluationPeriods()
CfnCluster.CloudWatchAlarmDefinitionProperty
The default value is 1
.
getEvaluationPeriods
in interface CfnCluster.CloudWatchAlarmDefinitionProperty
public final java.lang.String getNamespace()
CfnCluster.CloudWatchAlarmDefinitionProperty
The default is AWS/ElasticMapReduce
.
getNamespace
in interface CfnCluster.CloudWatchAlarmDefinitionProperty
public final java.lang.String getStatistic()
CfnCluster.CloudWatchAlarmDefinitionProperty
The default is AVERAGE
.
getStatistic
in interface CfnCluster.CloudWatchAlarmDefinitionProperty
public final java.lang.String getUnit()
CfnCluster.CloudWatchAlarmDefinitionProperty
The value specified for Unit
must correspond to the units specified in the CloudWatch metric.
getUnit
in interface CfnCluster.CloudWatchAlarmDefinitionProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()