@Stability(value=Stable) @Internal public static final class CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
CfnEC2Fleet.TargetCapacitySpecificationRequestPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder, CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnEC2Fleet.AcceleratorCountRequestProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDefaultTargetCapacityType()
The default `TotalTargetCapacity` , which is either `Spot` or `On-Demand` .
|
Number |
getOnDemandTargetCapacity()
The number of On-Demand units to request.
|
Number |
getSpotTargetCapacity()
The number of Spot units to request.
|
String |
getTargetCapacityUnitType()
The unit for the target capacity.
|
Number |
getTotalTargetCapacity()
The number of units to request, filled using `DefaultTargetCapacityType` .
|
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(CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder builder)
CfnEC2Fleet.AcceleratorCountRequestProperty.Builder.public final Number getTotalTargetCapacity()
CfnEC2Fleet.TargetCapacitySpecificationRequestPropertygetTotalTargetCapacity in interface CfnEC2Fleet.TargetCapacitySpecificationRequestPropertypublic final String getDefaultTargetCapacityType()
CfnEC2Fleet.TargetCapacitySpecificationRequestPropertygetDefaultTargetCapacityType in interface CfnEC2Fleet.TargetCapacitySpecificationRequestPropertypublic final Number getOnDemandTargetCapacity()
CfnEC2Fleet.TargetCapacitySpecificationRequestPropertygetOnDemandTargetCapacity in interface CfnEC2Fleet.TargetCapacitySpecificationRequestPropertypublic final Number getSpotTargetCapacity()
CfnEC2Fleet.TargetCapacitySpecificationRequestPropertygetSpotTargetCapacity in interface CfnEC2Fleet.TargetCapacitySpecificationRequestPropertypublic final String getTargetCapacityUnitType()
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
Default: units (translates to number of instances)
getTargetCapacityUnitType in interface CfnEC2Fleet.TargetCapacitySpecificationRequestProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.