@Generated(value="software.amazon.awssdk:codegen") public final class DescribeEc2InstanceLimitsRequest extends GameLiftRequest implements ToCopyableBuilder<DescribeEc2InstanceLimitsRequest.Builder,DescribeEc2InstanceLimitsRequest>
Represents the input for a request action.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeEc2InstanceLimitsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeEc2InstanceLimitsRequest.Builder |
builder() |
EC2InstanceType |
ec2InstanceType()
Name of an EC2 instance type that is supported in Amazon GameLift.
|
String |
ec2InstanceTypeAsString()
Name of an EC2 instance type that is supported in Amazon GameLift.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeEc2InstanceLimitsRequest.Builder> |
serializableBuilderClass() |
DescribeEc2InstanceLimitsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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. Leave this parameter blank to retrieve limits for all types.
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()
.
EC2InstanceType
public String ec2InstanceTypeAsString()
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. Leave this parameter blank to retrieve limits for all types.
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()
.
EC2InstanceType
public DescribeEc2InstanceLimitsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeEc2InstanceLimitsRequest.Builder,DescribeEc2InstanceLimitsRequest>
toBuilder
in class GameLiftRequest
public static DescribeEc2InstanceLimitsRequest.Builder builder()
public static Class<? extends DescribeEc2InstanceLimitsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.