public class FleetCapacity extends Object implements Serializable, Cloneable
Information about the fleet's capacity. Fleet capacity is measured in EC2 instances. By default, new fleets have a capacity of 1 instance, but can be updated as needed. The maximum number of instances for a fleet is determined by the fleet's instance type.
| Constructor and Description |
|---|
FleetCapacity() |
| Modifier and Type | Method and Description |
|---|---|
FleetCapacity |
clone() |
boolean |
equals(Object obj) |
String |
getFleetId()
Unique identifier for a fleet.
|
EC2InstanceCounts |
getInstanceCounts()
Current status of fleet capacity.
|
String |
getInstanceType()
Type of EC2 instances used in the fleet.
|
int |
hashCode() |
void |
setFleetId(String fleetId)
Unique identifier for a fleet.
|
void |
setInstanceCounts(EC2InstanceCounts instanceCounts)
Current status of fleet capacity.
|
void |
setInstanceType(EC2InstanceType instanceType)
Type of EC2 instances used in the fleet.
|
void |
setInstanceType(String instanceType)
Type of EC2 instances used in the fleet.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FleetCapacity |
withFleetId(String fleetId)
Unique identifier for a fleet.
|
FleetCapacity |
withInstanceCounts(EC2InstanceCounts instanceCounts)
Current status of fleet capacity.
|
FleetCapacity |
withInstanceType(EC2InstanceType instanceType)
Type of EC2 instances used in the fleet.
|
FleetCapacity |
withInstanceType(String instanceType)
Type of EC2 instances used in the fleet.
|
public void setFleetId(String fleetId)
Unique identifier for a fleet.
fleetId - Unique identifier for a fleet.public String getFleetId()
Unique identifier for a fleet.
public FleetCapacity withFleetId(String fleetId)
Unique identifier for a fleet.
fleetId - Unique identifier for a fleet.public void setInstanceType(String instanceType)
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, networking capacity, etc., of the hosts used. The EC2 instance types supported by GameLift are listed below. See the lta href="https://aws.amazon.com/ec2/instance-types/"gtEC2 documentationlt/agt for detailed descriptions of each instance type.
instanceType - Type of EC2 instances used in the fleet. EC2 instance types define
the CPU, memory, storage, networking capacity, etc., of the hosts
used. The EC2 instance types supported by GameLift are listed
below. See the lta
href="https://aws.amazon.com/ec2/instance-types/"gtEC2
documentationlt/agt for detailed descriptions of each instance
type.EC2InstanceTypepublic String getInstanceType()
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, networking capacity, etc., of the hosts used. The EC2 instance types supported by GameLift are listed below. See the lta href="https://aws.amazon.com/ec2/instance-types/"gtEC2 documentationlt/agt for detailed descriptions of each instance type.
EC2InstanceTypepublic FleetCapacity withInstanceType(String instanceType)
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, networking capacity, etc., of the hosts used. The EC2 instance types supported by GameLift are listed below. See the lta href="https://aws.amazon.com/ec2/instance-types/"gtEC2 documentationlt/agt for detailed descriptions of each instance type.
instanceType - Type of EC2 instances used in the fleet. EC2 instance types define
the CPU, memory, storage, networking capacity, etc., of the hosts
used. The EC2 instance types supported by GameLift are listed
below. See the lta
href="https://aws.amazon.com/ec2/instance-types/"gtEC2
documentationlt/agt for detailed descriptions of each instance
type.EC2InstanceTypepublic void setInstanceType(EC2InstanceType instanceType)
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, networking capacity, etc., of the hosts used. The EC2 instance types supported by GameLift are listed below. See the lta href="https://aws.amazon.com/ec2/instance-types/"gtEC2 documentationlt/agt for detailed descriptions of each instance type.
instanceType - Type of EC2 instances used in the fleet. EC2 instance types define
the CPU, memory, storage, networking capacity, etc., of the hosts
used. The EC2 instance types supported by GameLift are listed
below. See the lta
href="https://aws.amazon.com/ec2/instance-types/"gtEC2
documentationlt/agt for detailed descriptions of each instance
type.EC2InstanceTypepublic FleetCapacity withInstanceType(EC2InstanceType instanceType)
Type of EC2 instances used in the fleet. EC2 instance types define the CPU, memory, storage, networking capacity, etc., of the hosts used. The EC2 instance types supported by GameLift are listed below. See the lta href="https://aws.amazon.com/ec2/instance-types/"gtEC2 documentationlt/agt for detailed descriptions of each instance type.
instanceType - Type of EC2 instances used in the fleet. EC2 instance types define
the CPU, memory, storage, networking capacity, etc., of the hosts
used. The EC2 instance types supported by GameLift are listed
below. See the lta
href="https://aws.amazon.com/ec2/instance-types/"gtEC2
documentationlt/agt for detailed descriptions of each instance
type.EC2InstanceTypepublic void setInstanceCounts(EC2InstanceCounts instanceCounts)
Current status of fleet capacity.
instanceCounts - Current status of fleet capacity.public EC2InstanceCounts getInstanceCounts()
Current status of fleet capacity.
public FleetCapacity withInstanceCounts(EC2InstanceCounts instanceCounts)
Current status of fleet capacity.
instanceCounts - Current status of fleet capacity.public String toString()
toString in class ObjectObject.toString()public FleetCapacity clone()
Copyright © 2016. All rights reserved.