@Stability(value=Experimental) @Internal public static final class CapacityProviderStrategy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CapacityProviderStrategy
CapacityProviderStrategy
software.amazon.jsii.JsiiObject.InitializationMode
CapacityProviderStrategy.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, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected 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()
CapacityProviderStrategy
getCapacityProvider
in interface CapacityProviderStrategy
public final Number getBase()
CapacityProviderStrategy
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
getBase
in interface CapacityProviderStrategy
public final Number getWeight()
CapacityProviderStrategy
The 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.JsiiSerializable
Copyright © 2021. All rights reserved.