Class CapacityProviderStrategy.Jsii$Proxy

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

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

    CapacityProviderStrategy.Builder, CapacityProviderStrategy.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CapacityProviderStrategy.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 Number
    The base value designates how many tasks, at a minimum, to run on the specified capacity provider.
    final String
    The name of the capacity provider.
    final Number
    The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
    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(CapacityProviderStrategy.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CapacityProviderStrategy.Builder.
  • Method Details

    • getCapacityProvider

      public final String getCapacityProvider()
      Description copied from interface: CapacityProviderStrategy
      The name of the capacity provider.
      Specified by:
      getCapacityProvider in interface CapacityProviderStrategy
    • getBase

      public final Number getBase()
      Description copied from interface: CapacityProviderStrategy
      The base value designates how many tasks, at a minimum, to run on the specified capacity provider.

      Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used.

      Default: - none

      Specified by:
      getBase in interface CapacityProviderStrategy
    • getWeight

      public final Number getWeight()
      Description copied from interface: CapacityProviderStrategy
      The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.

      The weight value is taken into consideration after the base value, if defined, is satisfied.

      Default: - 0

      Specified by:
      getWeight in interface CapacityProviderStrategy
    • $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