@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2InstanceLimit extends Object implements Serializable, Cloneable, StructuredPojo
Maximum number of instances allowed based on the Amazon Elastic Compute Cloud (Amazon 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()
Name of an EC2 instance type that is supported in Amazon GameLift.
|
Integer |
getInstanceLimit()
Number of instances allowed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrentInstances(Integer currentInstances)
Number of instances of the specified type that are currently in use by this AWS account.
|
void |
setEC2InstanceType(EC2InstanceType eC2InstanceType)
Name of an EC2 instance type that is supported in Amazon GameLift.
|
void |
setEC2InstanceType(String eC2InstanceType)
Name of an EC2 instance type that is supported in Amazon GameLift.
|
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)
Name of an EC2 instance type that is supported in Amazon GameLift.
|
EC2InstanceLimit |
withEC2InstanceType(String eC2InstanceType)
Name of an EC2 instance type that is supported in Amazon GameLift.
|
EC2InstanceLimit |
withInstanceLimit(Integer instanceLimit)
Number of instances allowed.
|
public void setEC2InstanceType(String 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.
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.EC2InstanceType
public String getEC2InstanceType()
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.
EC2InstanceType
public EC2InstanceLimit withEC2InstanceType(String 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.
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.EC2InstanceType
public void setEC2InstanceType(EC2InstanceType 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.
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.EC2InstanceType
public EC2InstanceLimit withEC2InstanceType(EC2InstanceType 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.
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.EC2InstanceType
public 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 Object
Object.toString()
public EC2InstanceLimit clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.