StructuredPojo
, ToCopyableBuilder<EC2InstanceLimit.Builder,EC2InstanceLimit>
@Generated("software.amazon.awssdk:codegen") public class EC2InstanceLimit extends Object implements StructuredPojo, ToCopyableBuilder<EC2InstanceLimit.Builder,EC2InstanceLimit>
Maximum number of instances allowed based on the Amazon Elastic Compute Cloud (Amazon EC2) instance type. Instance limits can be retrieved by calling DescribeEC2InstanceLimits.
Modifier and Type | Class | Description |
---|---|---|
static interface |
EC2InstanceLimit.Builder |
Modifier and Type | Method | Description |
---|---|---|
static EC2InstanceLimit.Builder |
builder() |
|
Integer |
currentInstances() |
Number of instances of the specified type that are currently in use by this AWS account.
|
String |
ec2InstanceType() |
Name of an EC2 instance type that is supported in Amazon GameLift.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Integer |
instanceLimit() |
Number of instances allowed.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EC2InstanceLimit.Builder> |
serializableBuilderClass() |
|
EC2InstanceLimit.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public 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
public Integer currentInstances()
Number of instances of the specified type that are currently in use by this AWS account.
public Integer instanceLimit()
Number of instances allowed.
public EC2InstanceLimit.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EC2InstanceLimit.Builder,EC2InstanceLimit>
public static EC2InstanceLimit.Builder builder()
public static Class<? extends EC2InstanceLimit.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.