public class EC2InstanceLimit extends Object implements Serializable, Cloneable
Maximum number of instances allowed based on the EC2 instance type. Instance limits can be retrieved by calling DescribeEC2InstanceLimits.
| Constructor and Description |
|---|
EC2InstanceLimit() |
| Modifier and Type | Method and Description |
|---|---|
EC2InstanceLimit |
clone() |
boolean |
equals(Object obj) |
Integer |
getCurrentInstances()
Number of instances of the specified type that are currently in use by
this AWS account.
|
String |
getEC2InstanceType()
Type of EC2 instances used in the fleet.
|
Integer |
getInstanceLimit()
Number of instances allowed.
|
int |
hashCode() |
void |
setCurrentInstances(Integer currentInstances)
Number of instances of the specified type that are currently in use by
this AWS account.
|
void |
setEC2InstanceType(EC2InstanceType eC2InstanceType)
Type of EC2 instances used in the fleet.
|
void |
setEC2InstanceType(String eC2InstanceType)
Type of EC2 instances used in the fleet.
|
void |
setInstanceLimit(Integer instanceLimit)
Number of instances allowed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EC2InstanceLimit |
withCurrentInstances(Integer currentInstances)
Number of instances of the specified type that are currently in use by
this AWS account.
|
EC2InstanceLimit |
withEC2InstanceType(EC2InstanceType eC2InstanceType)
Type of EC2 instances used in the fleet.
|
EC2InstanceLimit |
withEC2InstanceType(String eC2InstanceType)
Type of EC2 instances used in the fleet.
|
EC2InstanceLimit |
withInstanceLimit(Integer instanceLimit)
Number of instances allowed.
|
public void setEC2InstanceType(String eC2InstanceType)
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.
eC2InstanceType - 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 getEC2InstanceType()
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 EC2InstanceLimit withEC2InstanceType(String eC2InstanceType)
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.
eC2InstanceType - 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 setEC2InstanceType(EC2InstanceType eC2InstanceType)
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.
eC2InstanceType - 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 EC2InstanceLimit withEC2InstanceType(EC2InstanceType eC2InstanceType)
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.
eC2InstanceType - 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 setCurrentInstances(Integer currentInstances)
Number of instances of the specified type that are currently in use by this AWS account.
currentInstances - Number of instances of the specified type that are currently in
use by this AWS account.public Integer getCurrentInstances()
Number of instances of the specified type that are currently in use by this AWS account.
public EC2InstanceLimit withCurrentInstances(Integer currentInstances)
Number of instances of the specified type that are currently in use by this AWS account.
currentInstances - Number of instances of the specified type that are currently in
use by this AWS account.public void setInstanceLimit(Integer instanceLimit)
Number of instances allowed.
instanceLimit - Number of instances allowed.public Integer getInstanceLimit()
Number of instances allowed.
public EC2InstanceLimit withInstanceLimit(Integer instanceLimit)
Number of instances allowed.
instanceLimit - Number of instances allowed.public String toString()
toString in class ObjectObject.toString()public EC2InstanceLimit clone()
Copyright © 2016. All rights reserved.