Package com.pulumi.aws.ec2.inputs
Class FleetTargetCapacitySpecificationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.FleetTargetCapacitySpecificationArgs.Builder
-
- Enclosing class:
- FleetTargetCapacitySpecificationArgs
public static final class FleetTargetCapacitySpecificationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(FleetTargetCapacitySpecificationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FleetTargetCapacitySpecificationArgs defaults)
-
-
Method Detail
-
defaultTargetCapacityType
public FleetTargetCapacitySpecificationArgs.Builder defaultTargetCapacityType(com.pulumi.core.Output<java.lang.String> defaultTargetCapacityType)
- Parameters:
defaultTargetCapacityType- Default target capacity type. Valid values: `on-demand`, `spot`.- Returns:
- builder
-
defaultTargetCapacityType
public FleetTargetCapacitySpecificationArgs.Builder defaultTargetCapacityType(java.lang.String defaultTargetCapacityType)
- Parameters:
defaultTargetCapacityType- Default target capacity type. Valid values: `on-demand`, `spot`.- Returns:
- builder
-
onDemandTargetCapacity
public FleetTargetCapacitySpecificationArgs.Builder onDemandTargetCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> onDemandTargetCapacity)
- Parameters:
onDemandTargetCapacity- The number of On-Demand units to request.- Returns:
- builder
-
onDemandTargetCapacity
public FleetTargetCapacitySpecificationArgs.Builder onDemandTargetCapacity(java.lang.Integer onDemandTargetCapacity)
- Parameters:
onDemandTargetCapacity- The number of On-Demand units to request.- Returns:
- builder
-
spotTargetCapacity
public FleetTargetCapacitySpecificationArgs.Builder spotTargetCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> spotTargetCapacity)
- Parameters:
spotTargetCapacity- The number of Spot units to request.- Returns:
- builder
-
spotTargetCapacity
public FleetTargetCapacitySpecificationArgs.Builder spotTargetCapacity(java.lang.Integer spotTargetCapacity)
- Parameters:
spotTargetCapacity- The number of Spot units to request.- Returns:
- builder
-
targetCapacityUnitType
public FleetTargetCapacitySpecificationArgs.Builder targetCapacityUnitType(@Nullable com.pulumi.core.Output<java.lang.String> targetCapacityUnitType)
- Parameters:
targetCapacityUnitType- The unit for the target capacity. If you specify `targetCapacityUnitType`, `instanceRequirements` must be specified.- Returns:
- builder
-
targetCapacityUnitType
public FleetTargetCapacitySpecificationArgs.Builder targetCapacityUnitType(java.lang.String targetCapacityUnitType)
- Parameters:
targetCapacityUnitType- The unit for the target capacity. If you specify `targetCapacityUnitType`, `instanceRequirements` must be specified.- Returns:
- builder
-
totalTargetCapacity
public FleetTargetCapacitySpecificationArgs.Builder totalTargetCapacity(com.pulumi.core.Output<java.lang.Integer> totalTargetCapacity)
- Parameters:
totalTargetCapacity- The number of units to request, filled using `defaultTargetCapacityType`.- Returns:
- builder
-
totalTargetCapacity
public FleetTargetCapacitySpecificationArgs.Builder totalTargetCapacity(java.lang.Integer totalTargetCapacity)
- Parameters:
totalTargetCapacity- The number of units to request, filled using `defaultTargetCapacityType`.- Returns:
- builder
-
build
public FleetTargetCapacitySpecificationArgs build()
-
-