JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class InstanceFleetProvisioningSpecifications

  • All Implemented Interfaces:
    StructuredPojo, Serializable, Cloneable


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public class InstanceFleetProvisioningSpecifications
    extends Object
    implements Serializable, Cloneable, StructuredPojo 

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

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

    See Also:
    AWS API Documentation, Serialized Form
    • Constructor Detail

      • InstanceFleetProvisioningSpecifications

        public InstanceFleetProvisioningSpecifications()
    • Method Detail

      • setSpotSpecification

        public void setSpotSpecification(SpotProvisioningSpecification spotSpecification)

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

        Parameters:
        spotSpecification - The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
      • getSpotSpecification

        public SpotProvisioningSpecification getSpotSpecification()

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

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

        public InstanceFleetProvisioningSpecifications withSpotSpecification(SpotProvisioningSpecification spotSpecification)

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

        Parameters:
        spotSpecification - The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOnDemandSpecification

        public void setOnDemandSpecification(OnDemandProvisioningSpecification onDemandSpecification)

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

        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.

        Parameters:
        onDemandSpecification - The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.

        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.

      • getOnDemandSpecification

        public OnDemandProvisioningSpecification getOnDemandSpecification()

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

        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.

        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.

      • withOnDemandSpecification

        public InstanceFleetProvisioningSpecifications withOnDemandSpecification(OnDemandProvisioningSpecification onDemandSpecification)

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

        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.

        Parameters:
        onDemandSpecification - The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.

        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:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /