Class InstanceFleetInstanceTypeConfigArgs.Builder

    • Method Detail

      • bidPrice

        public InstanceFleetInstanceTypeConfigArgs.Builder bidPrice​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> bidPrice)
        Parameters:
        bidPrice - The bid price for each EC2 Spot instance type as defined by `instanceType`. Expressed in USD. If neither `bidPrice` nor `bidPriceAsPercentageOfOnDemandPrice` is provided, `bidPriceAsPercentageOfOnDemandPrice` defaults to 100%.
        Returns:
        builder
      • bidPrice

        public InstanceFleetInstanceTypeConfigArgs.Builder bidPrice​(java.lang.String bidPrice)
        Parameters:
        bidPrice - The bid price for each EC2 Spot instance type as defined by `instanceType`. Expressed in USD. If neither `bidPrice` nor `bidPriceAsPercentageOfOnDemandPrice` is provided, `bidPriceAsPercentageOfOnDemandPrice` defaults to 100%.
        Returns:
        builder
      • bidPriceAsPercentageOfOnDemandPrice

        public InstanceFleetInstanceTypeConfigArgs.Builder bidPriceAsPercentageOfOnDemandPrice​(@Nullable
                                                                                               com.pulumi.core.Output<java.lang.Double> bidPriceAsPercentageOfOnDemandPrice)
        Parameters:
        bidPriceAsPercentageOfOnDemandPrice - The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by `instanceType`. Expressed as a number (for example, 20 specifies 20%). If neither `bidPrice` nor `bidPriceAsPercentageOfOnDemandPrice` is provided, `bidPriceAsPercentageOfOnDemandPrice` defaults to 100%.
        Returns:
        builder
      • bidPriceAsPercentageOfOnDemandPrice

        public InstanceFleetInstanceTypeConfigArgs.Builder bidPriceAsPercentageOfOnDemandPrice​(java.lang.Double bidPriceAsPercentageOfOnDemandPrice)
        Parameters:
        bidPriceAsPercentageOfOnDemandPrice - The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by `instanceType`. Expressed as a number (for example, 20 specifies 20%). If neither `bidPrice` nor `bidPriceAsPercentageOfOnDemandPrice` is provided, `bidPriceAsPercentageOfOnDemandPrice` defaults to 100%.
        Returns:
        builder
      • instanceType

        public InstanceFleetInstanceTypeConfigArgs.Builder instanceType​(com.pulumi.core.Output<java.lang.String> instanceType)
        Parameters:
        instanceType - An EC2 instance type, such as m4.xlarge.
        Returns:
        builder
      • weightedCapacity

        public InstanceFleetInstanceTypeConfigArgs.Builder weightedCapacity​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.Integer> weightedCapacity)
        Parameters:
        weightedCapacity - The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in `aws.emr.InstanceFleet`.
        Returns:
        builder
      • weightedCapacity

        public InstanceFleetInstanceTypeConfigArgs.Builder weightedCapacity​(java.lang.Integer weightedCapacity)
        Parameters:
        weightedCapacity - The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in `aws.emr.InstanceFleet`.
        Returns:
        builder