FleetTargetCapacitySpecification class
Constructors
-
FleetTargetCapacitySpecification({required Input<
String> defaultTargetCapacityType, Input<int?> ? onDemandTargetCapacity, Input<int?> ? spotTargetCapacity, Input<String?> ? targetCapacityUnitType, required Input<int> totalTargetCapacity}) -
Creates a new FleetTargetCapacitySpecification.
defaultTargetCapacityTypeDefault target capacity type. Valid values:on-demand,spot.onDemandTargetCapacityThe number of On-Demand units to request.spotTargetCapacityThe number of Spot units to request.targetCapacityUnitTypeThe unit for the target capacity.totalTargetCapacityThe number of units to request, filled usingdefaultTargetCapacityType.const -
FleetTargetCapacitySpecification.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
defaultTargetCapacityType
→ Input<
String> -
Default target capacity type. Valid values:
on-demand,spot.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
onDemandTargetCapacity
→ Input<
int?> ? -
The number of On-Demand units to request.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spotTargetCapacity
→ Input<
int?> ? -
The number of Spot units to request.
final
-
targetCapacityUnitType
→ Input<
String?> ? -
The unit for the target capacity.
If you specify
targetCapacityUnitType,instanceRequirementsmust be specified.final -
totalTargetCapacity
→ Input<
int> -
The number of units to request, filled using
defaultTargetCapacityType.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited