Class CfnCluster.SimpleScalingPolicyConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCluster.SimpleScalingPolicyConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnCluster.SimpleScalingPolicyConfigurationProperty
CfnCluster.SimpleScalingPolicyConfigurationProperty-
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.SimpleScalingPolicyConfigurationProperty
CfnCluster.SimpleScalingPolicyConfigurationProperty.Builder, CfnCluster.SimpleScalingPolicyConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCluster.SimpleScalingPolicyConfigurationProperty.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 StringThe way in which Amazon EC2 instances are added (ifScalingAdjustmentis a positive number) or terminated (ifScalingAdjustmentis a negative number) each time the scaling activity is triggered.final NumberThe amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.final NumberThe amount by which to scale in or scale out, based on the specifiedAdjustmentType.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.SimpleScalingPolicyConfigurationProperty.Builder.
-
-
Method Details
-
getScalingAdjustment
Description copied from interface:CfnCluster.SimpleScalingPolicyConfigurationPropertyThe amount by which to scale in or scale out, based on the specifiedAdjustmentType.A positive value adds to the instance group's Amazon EC2 instance count while a negative number removes instances. If
AdjustmentTypeis set toEXACT_CAPACITY, the number should only be a positive integer. IfAdjustmentTypeis set toPERCENT_CHANGE_IN_CAPACITY, the value should express the percentage as an integer. For example, -20 indicates a decrease in 20% increments of cluster capacity.- Specified by:
getScalingAdjustmentin interfaceCfnCluster.SimpleScalingPolicyConfigurationProperty
-
getAdjustmentType
Description copied from interface:CfnCluster.SimpleScalingPolicyConfigurationPropertyThe way in which Amazon EC2 instances are added (ifScalingAdjustmentis a positive number) or terminated (ifScalingAdjustmentis a negative number) each time the scaling activity is triggered.CHANGE_IN_CAPACITYis the default.CHANGE_IN_CAPACITYindicates that the Amazon EC2 instance count increments or decrements byScalingAdjustment, which should be expressed as an integer.PERCENT_CHANGE_IN_CAPACITYindicates the instance count increments or decrements by the percentage specified byScalingAdjustment, which should be expressed as an integer. For example, 20 indicates an increase in 20% increments of cluster capacity.EXACT_CAPACITYindicates the scaling activity results in an instance group with the number of Amazon EC2 instances specified byScalingAdjustment, which should be expressed as a positive integer.- Specified by:
getAdjustmentTypein interfaceCfnCluster.SimpleScalingPolicyConfigurationProperty
-
getCoolDown
Description copied from interface:CfnCluster.SimpleScalingPolicyConfigurationPropertyThe amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.The default value is 0.
- Specified by:
getCoolDownin interfaceCfnCluster.SimpleScalingPolicyConfigurationProperty
-
$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()
-