public static final class CfnCluster.InstanceTypeConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCluster.InstanceTypeConfigProperty
CfnCluster.InstanceTypeConfigProperty
CfnCluster.InstanceTypeConfigProperty.Builder, CfnCluster.InstanceTypeConfigProperty.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 |
getBidPrice()
The bid price for each EC2 Spot Instance type as defined by `InstanceType` .
|
java.lang.Number |
getBidPriceAsPercentageOfOnDemandPrice()
The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by `InstanceType` .
|
java.lang.Object |
getConfigurations()
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.
|
java.lang.String |
getCustomAmiId()
The custom AMI ID to use for the instance type.
|
java.lang.Object |
getEbsConfiguration()
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by `InstanceType` .
|
java.lang.String |
getInstanceType()
An EC2 instance type, such as `m3.xlarge` .
|
java.lang.Number |
getWeightedCapacity()
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in `InstanceFleetConfig` .
|
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.String getInstanceType()
CfnCluster.InstanceTypeConfigProperty
getInstanceType
in interface CfnCluster.InstanceTypeConfigProperty
public final java.lang.String getBidPrice()
CfnCluster.InstanceTypeConfigProperty
Expressed in USD. If neither BidPrice
nor BidPriceAsPercentageOfOnDemandPrice
is provided, BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.
getBidPrice
in interface CfnCluster.InstanceTypeConfigProperty
public final java.lang.Number getBidPriceAsPercentageOfOnDemandPrice()
CfnCluster.InstanceTypeConfigProperty
Expressed as a number (for example, 20 specifies 20%). If neither BidPrice
nor BidPriceAsPercentageOfOnDemandPrice
is provided, BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.
getBidPriceAsPercentageOfOnDemandPrice
in interface CfnCluster.InstanceTypeConfigProperty
public final java.lang.Object getConfigurations()
CfnCluster.InstanceTypeConfigProperty
getConfigurations
in interface CfnCluster.InstanceTypeConfigProperty
public final java.lang.String getCustomAmiId()
CfnCluster.InstanceTypeConfigProperty
getCustomAmiId
in interface CfnCluster.InstanceTypeConfigProperty
public final java.lang.Object getEbsConfiguration()
CfnCluster.InstanceTypeConfigProperty
getEbsConfiguration
in interface CfnCluster.InstanceTypeConfigProperty
public final java.lang.Number getWeightedCapacity()
CfnCluster.InstanceTypeConfigProperty
This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified.
getWeightedCapacity
in interface CfnCluster.InstanceTypeConfigProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()