FleetCapacity class
Information about the fleet's capacity. Fleet capacity is measured in EC2 instances. By default, new fleets have a capacity of one instance, but can be updated as needed. The maximum number of instances for a fleet is determined by the fleet's instance type.
Constructors
- FleetCapacity.new({String? fleetId, EC2InstanceCounts? instanceCounts, EC2InstanceType? instanceType})
-
FleetCapacity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- fleetId → String?
-
A unique identifier for a fleet.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceCounts → EC2InstanceCounts?
-
Current status of fleet capacity.
final
- instanceType → EC2InstanceType?
-
Name of an EC2 instance type that is supported in Amazon GameLift. A fleet
instance type determines the computing resources of each instance in the
fleet, including CPU, memory, storage, and networking capacity. Amazon
GameLift supports the following EC2 instance types. See Amazon EC2 Instance
Types for detailed descriptions.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited