@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() |
String |
getInstanceType()
The Amazon 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 Amazon Web Services Region code, such as
us-west-2 . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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) |
void |
setInstanceType(EC2InstanceType instanceType)
The Amazon EC2 instance type that is used for all instances in a fleet.
|
void |
setInstanceType(String instanceType)
The Amazon 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 Amazon Web Services 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) |
FleetCapacity |
withInstanceType(EC2InstanceType instanceType)
The Amazon EC2 instance type that is used for all instances in a fleet.
|
FleetCapacity |
withInstanceType(String instanceType)
The Amazon 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 Amazon Web Services 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 Amazon 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 Elastic Compute Cloud Instance Types for detailed descriptions.
instanceType
- The Amazon 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 Elastic Compute Cloud Instance Types for
detailed descriptions.EC2InstanceType
public String getInstanceType()
The Amazon 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 Elastic Compute Cloud Instance Types for detailed descriptions.
EC2InstanceType
public FleetCapacity withInstanceType(String instanceType)
The Amazon 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 Elastic Compute Cloud Instance Types for detailed descriptions.
instanceType
- The Amazon 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 Elastic Compute Cloud Instance Types for
detailed descriptions.EC2InstanceType
public void setInstanceType(EC2InstanceType instanceType)
The Amazon 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 Elastic Compute Cloud Instance Types for detailed descriptions.
instanceType
- The Amazon 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 Elastic Compute Cloud Instance Types for
detailed descriptions.EC2InstanceType
public FleetCapacity withInstanceType(EC2InstanceType instanceType)
The Amazon 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 Elastic Compute Cloud Instance Types for detailed descriptions.
instanceType
- The Amazon 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 Elastic Compute Cloud Instance Types for
detailed descriptions.EC2InstanceType
public void setInstanceCounts(EC2InstanceCounts instanceCounts)
instanceCounts
- public EC2InstanceCounts getInstanceCounts()
public FleetCapacity withInstanceCounts(EC2InstanceCounts instanceCounts)
instanceCounts
- public void setLocation(String location)
The fleet location for the instance count information, expressed as an Amazon Web Services Region code, such as
us-west-2
.
location
- The fleet location for the instance count information, expressed as an Amazon Web Services Region code,
such as us-west-2
.public String getLocation()
The fleet location for the instance count information, expressed as an Amazon Web Services 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 Amazon Web Services Region code, such as
us-west-2
.
location
- The fleet location for the instance count information, expressed as an Amazon Web Services Region code,
such as us-west-2
.public String toString()
toString
in class Object
Object.toString()
public FleetCapacity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.