public static final class CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder, CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDefaultTargetCapacityType()
The default `TotalTargetCapacity` , which is either `Spot` or `On-Demand` .
|
java.lang.Number |
getOnDemandTargetCapacity()
The number of On-Demand units to request.
|
java.lang.Number |
getSpotTargetCapacity()
The number of Spot units to request.
|
java.lang.String |
getTargetCapacityUnitType()
The unit for the target capacity.
|
java.lang.Number |
getTotalTargetCapacity()
The number of units to request, filled using `DefaultTargetCapacityType` .
|
int |
hashCode() |
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.public final java.lang.Number getTotalTargetCapacity()
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
getTotalTargetCapacity
in interface CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
public final java.lang.String getDefaultTargetCapacityType()
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
getDefaultTargetCapacityType
in interface CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
public final java.lang.Number getOnDemandTargetCapacity()
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
getOnDemandTargetCapacity
in interface CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
public final java.lang.Number getSpotTargetCapacity()
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
getSpotTargetCapacity
in interface CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
public final java.lang.String getTargetCapacityUnitType()
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
Default: units
(translates to number of instances)
getTargetCapacityUnitType
in interface CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()