Class CfnTaskSet.ScaleProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.CfnTaskSet.ScaleProperty.Jsii$Proxy
All Implemented Interfaces:
CfnTaskSet.ScaleProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnTaskSet.ScaleProperty

@Stability(Stable) @Internal public static final class CfnTaskSet.ScaleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnTaskSet.ScaleProperty
An implementation for CfnTaskSet.ScaleProperty
  • 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.ecs.CfnTaskSet.ScaleProperty

    CfnTaskSet.ScaleProperty.Builder, CfnTaskSet.ScaleProperty.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnTaskSet.ScaleProperty.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 Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The unit of measure for the scale value.
    final Number
    The value, specified as a percent total of a service's desiredCount , to scale the task set.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(CfnTaskSet.ScaleProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnTaskSet.ScaleProperty.Builder.
  • Method Details

    • getUnit

      public final String getUnit()
      Description copied from interface: CfnTaskSet.ScaleProperty
      The unit of measure for the scale value.
      Specified by:
      getUnit in interface CfnTaskSet.ScaleProperty
    • getValue

      public final Number getValue()
      Description copied from interface: CfnTaskSet.ScaleProperty
      The value, specified as a percent total of a service's desiredCount , to scale the task set.

      Accepted values are numbers between 0 and 100.

      Specified by:
      getValue in interface CfnTaskSet.ScaleProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object