@Stability(value=Experimental) @Internal public static final class EmrCreateCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EmrCreateCluster.CloudWatchAlarmDefinitionProperty
EmrCreateCluster.CloudWatchAlarmDefinitionPropertysoftware.amazon.jsii.JsiiObject.InitializationModeEmrCreateCluster.CloudWatchAlarmDefinitionProperty.Builder, EmrCreateCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(EmrCreateCluster.CloudWatchAlarmComparisonOperator comparisonOperator,
String metricName,
Duration period,
List<? extends EmrCreateCluster.MetricDimensionProperty> dimensions,
Number evaluationPeriods,
String namespace,
EmrCreateCluster.CloudWatchAlarmStatistic statistic,
Number threshold,
EmrCreateCluster.CloudWatchAlarmUnit unit)
Constructor that initializes the object based on literal property values passed by the
EmrCreateCluster.ApplicationConfigProperty.Builder. |
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(Object o) |
EmrCreateCluster.CloudWatchAlarmComparisonOperator |
getComparisonOperator()
(experimental) Determines how the metric specified by MetricName is compared to the value specified by Threshold.
|
List<EmrCreateCluster.MetricDimensionProperty> |
getDimensions()
(experimental) A CloudWatch metric dimension.
|
Number |
getEvaluationPeriods()
(experimental) The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity.
|
String |
getMetricName()
(experimental) The name of the CloudWatch metric that is watched to determine an alarm condition.
|
String |
getNamespace()
(experimental) The namespace for the CloudWatch metric.
|
Duration |
getPeriod()
(experimental) The period, in seconds, over which the statistic is applied.
|
EmrCreateCluster.CloudWatchAlarmStatistic |
getStatistic()
(experimental) The statistic to apply to the metric associated with the alarm.
|
Number |
getThreshold()
(experimental) The value against which the specified statistic is compared.
|
EmrCreateCluster.CloudWatchAlarmUnit |
getUnit()
(experimental) The unit of measure associated with the CloudWatch metric being watched.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(EmrCreateCluster.CloudWatchAlarmComparisonOperator comparisonOperator, String metricName, Duration period, List<? extends EmrCreateCluster.MetricDimensionProperty> dimensions, Number evaluationPeriods, String namespace, EmrCreateCluster.CloudWatchAlarmStatistic statistic, Number threshold, EmrCreateCluster.CloudWatchAlarmUnit unit)
EmrCreateCluster.ApplicationConfigProperty.Builder.public final EmrCreateCluster.CloudWatchAlarmComparisonOperator getComparisonOperator()
EmrCreateCluster.CloudWatchAlarmDefinitionPropertygetComparisonOperator in interface EmrCreateCluster.CloudWatchAlarmDefinitionPropertypublic final String getMetricName()
EmrCreateCluster.CloudWatchAlarmDefinitionPropertygetMetricName in interface EmrCreateCluster.CloudWatchAlarmDefinitionPropertypublic final Duration getPeriod()
EmrCreateCluster.CloudWatchAlarmDefinitionPropertyEMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300.
getPeriod in interface EmrCreateCluster.CloudWatchAlarmDefinitionPropertypublic final List<EmrCreateCluster.MetricDimensionProperty> getDimensions()
EmrCreateCluster.CloudWatchAlarmDefinitionPropertyDefault: - No dimensions
getDimensions in interface EmrCreateCluster.CloudWatchAlarmDefinitionPropertypublic final Number getEvaluationPeriods()
EmrCreateCluster.CloudWatchAlarmDefinitionPropertyDefault: 1
getEvaluationPeriods in interface EmrCreateCluster.CloudWatchAlarmDefinitionPropertypublic final String getNamespace()
EmrCreateCluster.CloudWatchAlarmDefinitionPropertyDefault: 'AWS/ElasticMapReduce'
getNamespace in interface EmrCreateCluster.CloudWatchAlarmDefinitionPropertypublic final EmrCreateCluster.CloudWatchAlarmStatistic getStatistic()
EmrCreateCluster.CloudWatchAlarmDefinitionPropertyDefault: CloudWatchAlarmStatistic.AVERAGE
getStatistic in interface EmrCreateCluster.CloudWatchAlarmDefinitionPropertypublic final Number getThreshold()
EmrCreateCluster.CloudWatchAlarmDefinitionPropertyDefault: - None
getThreshold in interface EmrCreateCluster.CloudWatchAlarmDefinitionPropertypublic final EmrCreateCluster.CloudWatchAlarmUnit getUnit()
EmrCreateCluster.CloudWatchAlarmDefinitionPropertyThe value specified for Unit must correspond to the units specified in the CloudWatch metric.
Default: CloudWatchAlarmUnit.NONE
getUnit in interface EmrCreateCluster.CloudWatchAlarmDefinitionProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.