Interface EmrCreateCluster.InstanceTypeConfigProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface EmrCreateCluster.InstanceTypeConfigProperty extends
An instance type configuration for each instance type in an instance fleet, which determines the EC2 instances Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ConfigurationProperty configurationProperty_;
 Size size;
 InstanceTypeConfigProperty instanceTypeConfigProperty = InstanceTypeConfigProperty.builder()
         // the properties below are optional
                         "propertiesKey", "properties"))
                                 // the properties below are optional
                         // the properties below are optional

See Also:
  • Method Details

    • getInstanceType

      @Stability(Stable) @NotNull String getInstanceType()
      An EC2 instance type.
    • getBidPrice

      @Stability(Stable) @Nullable default String getBidPrice()
      The bid price for each EC2 Spot instance type as defined by InstanceType.

      Expressed in USD.

      Default: - None

    • getBidPriceAsPercentageOfOnDemandPrice

      @Stability(Stable) @Nullable default Number getBidPriceAsPercentageOfOnDemandPrice()
      The bid price, as a percentage of On-Demand price.

      Default: - None

    • getConfigurations

      @Stability(Stable) @Nullable default List<EmrCreateCluster.ConfigurationProperty> getConfigurations()
      A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.

      Default: - None

    • getEbsConfiguration

      @Stability(Stable) @Nullable default EmrCreateCluster.EbsConfigurationProperty getEbsConfiguration()
      The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by InstanceType.

      Default: - None

    • getWeightedCapacity

      @Stability(Stable) @Nullable default Number getWeightedCapacity()
      The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in the InstanceFleetConfig.

      Default: - None

    • builder

      @Stability(Stable) static EmrCreateCluster.InstanceTypeConfigProperty.Builder builder()
      a EmrCreateCluster.InstanceTypeConfigProperty.Builder of EmrCreateCluster.InstanceTypeConfigProperty