Class InstanceFleetProvisioningSpecifications

    • Method Detail

      • spotSpecification

        public final SpotProvisioningSpecification spotSpecification()

        The launch specification for Spot instances in the fleet, which determines the allocation strategy, defined duration, and provisioning timeout behavior.

        Returns:
        The launch specification for Spot instances in the fleet, which determines the allocation strategy, defined duration, and provisioning timeout behavior.
      • onDemandSpecification

        public final OnDemandProvisioningSpecification onDemandSpecification()

        The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy and capacity reservation options.

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.

        Returns:
        The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy and capacity reservation options.

        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)