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 OnDemandProvisioningSpecification

    • Constructor Detail

      • OnDemandProvisioningSpecification

        public OnDemandProvisioningSpecification()
    • Method Detail

      • setAllocationStrategy

        public void setAllocationStrategy(String allocationStrategy)

        Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.

        Parameters:
        allocationStrategy - Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.
        See Also:
        OnDemandProvisioningAllocationStrategy
      • getAllocationStrategy

        public String getAllocationStrategy()

        Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.

        Returns:
        Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.
        See Also:
        OnDemandProvisioningAllocationStrategy
      • withAllocationStrategy

        public OnDemandProvisioningSpecification withAllocationStrategy(String allocationStrategy)

        Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.

        Parameters:
        allocationStrategy - Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OnDemandProvisioningAllocationStrategy
      • withAllocationStrategy

        public OnDemandProvisioningSpecification withAllocationStrategy(OnDemandProvisioningAllocationStrategy allocationStrategy)

        Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.

        Parameters:
        allocationStrategy - Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OnDemandProvisioningAllocationStrategy
      • setCapacityReservationOptions

        public void setCapacityReservationOptions(OnDemandCapacityReservationOptions capacityReservationOptions)

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

        Parameters:
        capacityReservationOptions - The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
      • getCapacityReservationOptions

        public OnDemandCapacityReservationOptions getCapacityReservationOptions()

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

        Returns:
        The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
      • withCapacityReservationOptions

        public OnDemandProvisioningSpecification withCapacityReservationOptions(OnDemandCapacityReservationOptions capacityReservationOptions)

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

        Parameters:
        capacityReservationOptions - The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
        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 によって変換されたページ (->オリジナル) /