@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetCapacity extends Object implements Serializable, Cloneable, StructuredPojo
Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.
Related actions
DescribeFleetCapacity | DescribeFleetLocationCapacity | UpdateFleetCapacity
| Constructor and Description |
|---|
FleetCapacity() |
| Modifier and Type | Method and Description |
|---|---|
FleetCapacity |
clone() |
boolean |
equals(Object obj) |
String |
getFleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
String |
getFleetId()
A unique identifier for the fleet associated with the location.
|
EC2InstanceCounts |
getInstanceCounts()
The current instance count and capacity settings for the fleet location.
|
String |
getInstanceType()
The EC2 instance type that is used for all instances in a fleet.
|
String |
getLocation()
The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet associated with the location.
|
void |
setInstanceCounts(EC2InstanceCounts instanceCounts)
The current instance count and capacity settings for the fleet location.
|
void |
setInstanceType(EC2InstanceType instanceType)
The EC2 instance type that is used for all instances in a fleet.
|
void |
setInstanceType(String instanceType)
The EC2 instance type that is used for all instances in a fleet.
|
void |
setLocation(String location)
The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2. |
String |
toString()
Returns a string representation of this object.
|
FleetCapacity |
withFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
FleetCapacity |
withFleetId(String fleetId)
A unique identifier for the fleet associated with the location.
|
FleetCapacity |
withInstanceCounts(EC2InstanceCounts instanceCounts)
The current instance count and capacity settings for the fleet location.
|
FleetCapacity |
withInstanceType(EC2InstanceType instanceType)
The EC2 instance type that is used for all instances in a fleet.
|
FleetCapacity |
withInstanceType(String instanceType)
The EC2 instance type that is used for all instances in a fleet.
|
FleetCapacity |
withLocation(String location)
The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2. |
public void setFleetId(String fleetId)
A unique identifier for the fleet associated with the location.
fleetId - A unique identifier for the fleet associated with the location.public String getFleetId()
A unique identifier for the fleet associated with the location.
public FleetCapacity withFleetId(String fleetId)
A unique identifier for the fleet associated with the location.
fleetId - A unique identifier for the fleet associated with the location.public void setFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.
fleetArn - The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.public String getFleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.public FleetCapacity withFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.
fleetArn - The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.public void setInstanceType(String instanceType)
The EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
instanceType - The EC2 instance type that is used for all instances in a fleet. The instance type determines the
computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.EC2InstanceTypepublic String getInstanceType()
The EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
EC2InstanceTypepublic FleetCapacity withInstanceType(String instanceType)
The EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
instanceType - The EC2 instance type that is used for all instances in a fleet. The instance type determines the
computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.EC2InstanceTypepublic void setInstanceType(EC2InstanceType instanceType)
The EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
instanceType - The EC2 instance type that is used for all instances in a fleet. The instance type determines the
computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.EC2InstanceTypepublic FleetCapacity withInstanceType(EC2InstanceType instanceType)
The EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
instanceType - The EC2 instance type that is used for all instances in a fleet. The instance type determines the
computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.EC2InstanceTypepublic void setInstanceCounts(EC2InstanceCounts instanceCounts)
The current instance count and capacity settings for the fleet location.
instanceCounts - The current instance count and capacity settings for the fleet location.public EC2InstanceCounts getInstanceCounts()
The current instance count and capacity settings for the fleet location.
public FleetCapacity withInstanceCounts(EC2InstanceCounts instanceCounts)
The current instance count and capacity settings for the fleet location.
instanceCounts - The current instance count and capacity settings for the fleet location.public void setLocation(String location)
The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2.
location - The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2.public String getLocation()
The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2.
us-west-2.public FleetCapacity withLocation(String location)
The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2.
location - The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2.public String toString()
toString in class ObjectObject.toString()public FleetCapacity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.