Class FleetOnDemandOptionsArgs.Builder

  • Enclosing class:
    FleetOnDemandOptionsArgs

    public static final class FleetOnDemandOptionsArgs.Builder
    extends java.lang.Object
    • Method Detail

      • allocationStrategy

        public FleetOnDemandOptionsArgs.Builder allocationStrategy​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> allocationStrategy)
        Parameters:
        allocationStrategy - The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: `lowestPrice`, `prioritized`. Default: `lowestPrice`.
        Returns:
        builder
      • allocationStrategy

        public FleetOnDemandOptionsArgs.Builder allocationStrategy​(java.lang.String allocationStrategy)
        Parameters:
        allocationStrategy - The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: `lowestPrice`, `prioritized`. Default: `lowestPrice`.
        Returns:
        builder
      • maxTotalPrice

        public FleetOnDemandOptionsArgs.Builder maxTotalPrice​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> maxTotalPrice)
        Parameters:
        maxTotalPrice - The maximum amount per hour for On-Demand Instances that you're willing to pay.
        Returns:
        builder
      • maxTotalPrice

        public FleetOnDemandOptionsArgs.Builder maxTotalPrice​(java.lang.String maxTotalPrice)
        Parameters:
        maxTotalPrice - The maximum amount per hour for On-Demand Instances that you're willing to pay.
        Returns:
        builder
      • minTargetCapacity

        public FleetOnDemandOptionsArgs.Builder minTargetCapacity​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> minTargetCapacity)
        Parameters:
        minTargetCapacity - The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type `instant`. If you specify `minTargetCapacity`, at least one of the following must be specified: `singleAvailabilityZone` or `singleInstanceType`.
        Returns:
        builder
      • minTargetCapacity

        public FleetOnDemandOptionsArgs.Builder minTargetCapacity​(java.lang.Integer minTargetCapacity)
        Parameters:
        minTargetCapacity - The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type `instant`. If you specify `minTargetCapacity`, at least one of the following must be specified: `singleAvailabilityZone` or `singleInstanceType`.
        Returns:
        builder
      • singleAvailabilityZone

        public FleetOnDemandOptionsArgs.Builder singleAvailabilityZone​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Boolean> singleAvailabilityZone)
        Parameters:
        singleAvailabilityZone - Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type `instant`.
        Returns:
        builder
      • singleAvailabilityZone

        public FleetOnDemandOptionsArgs.Builder singleAvailabilityZone​(java.lang.Boolean singleAvailabilityZone)
        Parameters:
        singleAvailabilityZone - Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type `instant`.
        Returns:
        builder
      • singleInstanceType

        public FleetOnDemandOptionsArgs.Builder singleInstanceType​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Boolean> singleInstanceType)
        Parameters:
        singleInstanceType - Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type `instant`.
        Returns:
        builder
      • singleInstanceType

        public FleetOnDemandOptionsArgs.Builder singleInstanceType​(java.lang.Boolean singleInstanceType)
        Parameters:
        singleInstanceType - Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type `instant`.
        Returns:
        builder