Class CfnCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.emr.CfnCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCluster.CloudWatchAlarmDefinitionProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnCluster.CloudWatchAlarmDefinitionProperty
@Stability(Stable)
@Internal
public static final class CfnCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnCluster.CloudWatchAlarmDefinitionProperty
An implementation for
CfnCluster.CloudWatchAlarmDefinitionProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.emr.CfnCluster.CloudWatchAlarmDefinitionProperty
CfnCluster.CloudWatchAlarmDefinitionProperty.Builder, CfnCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCluster.CloudWatchAlarmDefinitionProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringDetermines how the metric specified byMetricNameis compared to the value specified byThreshold.final ObjectA CloudWatch metric dimension.final NumberThe number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity.final StringThe name of the CloudWatch metric that is watched to determine an alarm condition.final StringThe namespace for the CloudWatch metric.final NumberThe period, in seconds, over which the statistic is applied.final StringThe statistic to apply to the metric associated with the alarm.final NumberThe value against which the specified statistic is compared.final StringgetUnit()The unit of measure associated with the CloudWatch metric being watched.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCluster.CloudWatchAlarmDefinitionProperty.Builder.
-
-
Method Details
-
getComparisonOperator
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionPropertyDetermines how the metric specified byMetricNameis compared to the value specified byThreshold.- Specified by:
getComparisonOperatorin interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
-
getMetricName
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionPropertyThe name of the CloudWatch metric that is watched to determine an alarm condition.- Specified by:
getMetricNamein interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
-
getPeriod
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionPropertyThe period, in seconds, over which the statistic is applied.CloudWatch metrics for Amazon EMR are emitted every five minutes (300 seconds), so if you specify a CloudWatch metric, specify
300.- Specified by:
getPeriodin interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
-
getThreshold
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionPropertyThe value against which the specified statistic is compared.- Specified by:
getThresholdin interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
-
getDimensions
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionPropertyA CloudWatch metric dimension.- Specified by:
getDimensionsin interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
-
getEvaluationPeriods
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionPropertyThe 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.- Specified by:
getEvaluationPeriodsin interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
-
getNamespace
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionPropertyThe namespace for the CloudWatch metric.The default is
AWS/ElasticMapReduce.- Specified by:
getNamespacein interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
-
getStatistic
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionPropertyThe statistic to apply to the metric associated with the alarm.The default is
AVERAGE.- Specified by:
getStatisticin interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
-
getUnit
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionPropertyThe unit of measure associated with the CloudWatch metric being watched.The value specified for
Unitmust correspond to the units specified in the CloudWatch metric.- Specified by:
getUnitin interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-