Class CfnService.ThresholdConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.CfnService.ThresholdConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnService.ThresholdConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnService.ThresholdConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnService.ThresholdConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnService.ThresholdConfigurationProperty
An implementation for
CfnService.ThresholdConfigurationProperty-
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.ecs.CfnService.ThresholdConfigurationProperty
CfnService.ThresholdConfigurationProperty.Builder, CfnService.ThresholdConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnService.ThresholdConfigurationProperty.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 StringgetType()Determines how Amazon ECS usesvalueto calculate the failure threshold.final NumbergetValue()Specifies the integer that Amazon ECS uses to calculate the failure threshold.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 theCfnService.ThresholdConfigurationProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnService.ThresholdConfigurationPropertyDetermines how Amazon ECS usesvalueto calculate the failure threshold.For the percentage types (
BOUNDED_PERCENTandUNBOUNDED_PERCENT), Amazon ECS multipliesvalueby the latest service desired count. ForCOUNT, Amazon ECS usesvaluedirectly as the threshold. The default isBOUNDED_PERCENT.- Specified by:
getTypein interfaceCfnService.ThresholdConfigurationProperty- See Also:
-
getValue
Description copied from interface:CfnService.ThresholdConfigurationPropertySpecifies the integer that Amazon ECS uses to calculate the failure threshold.When
typeisCOUNT, this value is the failure threshold itself. Whentypeis a percentage type, Amazon ECS multiplies this value by the latest service desired count to produce the failure threshold. The default is50.- Specified by:
getValuein interfaceCfnService.ThresholdConfigurationProperty- See Also:
-
$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()
-