@Stability(value=Experimental) @Internal public static final class CapacityProviderStrategy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CapacityProviderStrategy
CapacityProviderStrategysoftware.amazon.jsii.JsiiObject.InitializationModeCapacityProviderStrategy.Builder, CapacityProviderStrategy.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String capacityProvider,
Number base,
Number weight)
Constructor that initializes the object based on literal property values passed by the
CapacityProviderStrategy.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getBase()
(experimental) The base value designates how many tasks, at a minimum, to run on the specified capacity provider.
|
String |
getCapacityProvider()
(experimental) The name of the capacity provider.
|
Number |
getWeight()
(experimental) The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String capacityProvider, Number base, Number weight)
CapacityProviderStrategy.Builder.public final String getCapacityProvider()
CapacityProviderStrategygetCapacityProvider in interface CapacityProviderStrategypublic final Number getBase()
CapacityProviderStrategyOnly 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
getBase in interface CapacityProviderStrategypublic final Number getWeight()
CapacityProviderStrategyThe weight value is taken into consideration after the base value, if defined, is satisfied.
Default: - 0
getWeight in interface CapacityProviderStrategy@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.