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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.emr.CfnCluster.CloudWatchAlarmDefinitionProperty
CfnCluster.CloudWatchAlarmDefinitionProperty.Builder, CfnCluster.CloudWatchAlarmDefinitionProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCluster.CloudWatchAlarmDefinitionProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
Determines how the metric specified byMetricName
is compared to the value specified byThreshold
.final Object
A CloudWatch metric dimension.final Number
The number of periods, in five-minute increments, during which the alarm condition must exist before the alarm triggers automatic scaling activity.final String
The name of the CloudWatch metric that is watched to determine an alarm condition.final String
The namespace for the CloudWatch metric.final Number
The period, in seconds, over which the statistic is applied.final String
The statistic to apply to the metric associated with the alarm.final Number
The value against which the specified statistic is compared.final String
getUnit()
The unit of measure associated with the CloudWatch metric being watched.final int
hashCode()
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.CloudWatchAlarmDefinitionProperty
Determines how the metric specified byMetricName
is compared to the value specified byThreshold
.- Specified by:
getComparisonOperator
in interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
- See Also:
-
getMetricName
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionProperty
The name of the CloudWatch metric that is watched to determine an alarm condition.- Specified by:
getMetricName
in interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
- See Also:
-
getPeriod
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionProperty
The 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:
getPeriod
in interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
- See Also:
-
getThreshold
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionProperty
The value against which the specified statistic is compared.- Specified by:
getThreshold
in interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
- See Also:
-
getDimensions
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionProperty
A CloudWatch metric dimension.- Specified by:
getDimensions
in interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
- See Also:
-
getEvaluationPeriods
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionProperty
The 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:
getEvaluationPeriods
in interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
- See Also:
-
getNamespace
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionProperty
The namespace for the CloudWatch metric.The default is
AWS/ElasticMapReduce
.- Specified by:
getNamespace
in interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
- See Also:
-
getStatistic
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionProperty
The statistic to apply to the metric associated with the alarm.The default is
AVERAGE
.- Specified by:
getStatistic
in interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
- See Also:
-
getUnit
Description copied from interface:CfnCluster.CloudWatchAlarmDefinitionProperty
The unit of measure associated with the CloudWatch metric being watched.The value specified for
Unit
must correspond to the units specified in the CloudWatch metric.- Specified by:
getUnit
in interfaceCfnCluster.CloudWatchAlarmDefinitionProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-