@Generated(value="software.amazon.awssdk:codegen") public final class EC2InstanceLimit extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EC2InstanceLimit.Builder,EC2InstanceLimit>
The GameLift service limits for an Amazon EC2 instance type and current utilization. GameLift allows Amazon Web Services accounts a maximum number of instances, per instance type, per Amazon Web Services Region or location, for use with GameLift. You can request an limit increase for your account by using the Service limits page in the GameLift console.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EC2InstanceLimit.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EC2InstanceLimit.Builder |
builder() |
Integer |
currentInstances()
The number of instances for the specified type and location that are currently being used by the Amazon Web
Services account.
|
EC2InstanceType |
ec2InstanceType()
The name of an Amazon EC2 instance type.
|
String |
ec2InstanceTypeAsString()
The name of an Amazon EC2 instance type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
instanceLimit()
The number of instances that is allowed for the specified instance type and location.
|
String |
location()
An Amazon Web Services Region code, such as
us-west-2. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EC2InstanceLimit.Builder> |
serializableBuilderClass() |
EC2InstanceLimit.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EC2InstanceType ec2InstanceType()
The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.
If the service returns an enum value that is not available in the current SDK version, ec2InstanceType
will return EC2InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from ec2InstanceTypeAsString().
EC2InstanceTypepublic final String ec2InstanceTypeAsString()
The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.
If the service returns an enum value that is not available in the current SDK version, ec2InstanceType
will return EC2InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from ec2InstanceTypeAsString().
EC2InstanceTypepublic final Integer currentInstances()
The number of instances for the specified type and location that are currently being used by the Amazon Web Services account.
public final Integer instanceLimit()
The number of instances that is allowed for the specified instance type and location.
public final String location()
An Amazon Web Services Region code, such as us-west-2.
us-west-2.public EC2InstanceLimit.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EC2InstanceLimit.Builder,EC2InstanceLimit>public static EC2InstanceLimit.Builder builder()
public static Class<? extends EC2InstanceLimit.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.