Class FleetTargetCapacitySpecification


  • public final class FleetTargetCapacitySpecification
    extends java.lang.Object
    • Method Detail

      • defaultTargetCapacityType

        public java.lang.String defaultTargetCapacityType()
        Returns:
        Default target capacity type. Valid values: `on-demand`, `spot`.
      • onDemandTargetCapacity

        public java.util.Optional<java.lang.Integer> onDemandTargetCapacity()
        Returns:
        The number of On-Demand units to request.
      • spotTargetCapacity

        public java.util.Optional<java.lang.Integer> spotTargetCapacity()
        Returns:
        The number of Spot units to request.
      • targetCapacityUnitType

        public java.util.Optional<java.lang.String> targetCapacityUnitType()
        Returns:
        The unit for the target capacity. If you specify `targetCapacityUnitType`, `instanceRequirements` must be specified.
      • totalTargetCapacity

        public java.lang.Integer totalTargetCapacity()
        Returns:
        The number of units to request, filled using `defaultTargetCapacityType`.