public static final class CfnInstanceFleetConfig.InstanceTypeConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnInstanceFleetConfig.InstanceTypeConfigProperty
CfnInstanceFleetConfig.InstanceTypeConfigProperty
CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder, CfnInstanceFleetConfig.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()
> Amazon EMR releases 4.x or later.
|
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()
CfnInstanceFleetConfig.InstanceTypeConfigProperty
getInstanceType
in interface CfnInstanceFleetConfig.InstanceTypeConfigProperty
public final java.lang.String getBidPrice()
CfnInstanceFleetConfig.InstanceTypeConfigProperty
Expressed in USD. If neither BidPrice
nor BidPriceAsPercentageOfOnDemandPrice
is provided, BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.
getBidPrice
in interface CfnInstanceFleetConfig.InstanceTypeConfigProperty
public final java.lang.Number getBidPriceAsPercentageOfOnDemandPrice()
CfnInstanceFleetConfig.InstanceTypeConfigProperty
Expressed as a number (for example, 20 specifies 20%). If neither BidPrice
nor BidPriceAsPercentageOfOnDemandPrice
is provided, BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.
getBidPriceAsPercentageOfOnDemandPrice
in interface CfnInstanceFleetConfig.InstanceTypeConfigProperty
public final java.lang.Object getConfigurations()
CfnInstanceFleetConfig.InstanceTypeConfigProperty
An optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications .
getConfigurations
in interface CfnInstanceFleetConfig.InstanceTypeConfigProperty
public final java.lang.String getCustomAmiId()
CfnInstanceFleetConfig.InstanceTypeConfigProperty
getCustomAmiId
in interface CfnInstanceFleetConfig.InstanceTypeConfigProperty
public final java.lang.Object getEbsConfiguration()
CfnInstanceFleetConfig.InstanceTypeConfigProperty
getEbsConfiguration
in interface CfnInstanceFleetConfig.InstanceTypeConfigProperty
public final java.lang.Number getWeightedCapacity()
CfnInstanceFleetConfig.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 CfnInstanceFleetConfig.InstanceTypeConfigProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()