@Generated(value="software.amazon.awssdk:codegen") public final class DescribeInstancesRequest extends GameLiftRequest implements ToCopyableBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
Represents the input for a request action.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeInstancesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeInstancesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
String |
fleetId()
Unique identifier for a fleet to retrieve instance information for.
|
<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() |
String |
instanceId()
Unique identifier for an instance to retrieve.
|
Integer |
limit()
Maximum number of results to return.
|
String |
nextToken()
Token that indicates the start of the next sequential page of results.
|
static Class<? extends DescribeInstancesRequest.Builder> |
serializableBuilderClass() |
DescribeInstancesRequest.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 String fleetId()
Unique identifier for a fleet to retrieve instance information for.
public String instanceId()
Unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all instances in the fleet.
public Integer limit()
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of
sequential pages.
NextToken
to get results as a
set of sequential pages.public String nextToken()
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
public DescribeInstancesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
toBuilder
in class GameLiftRequest
public static DescribeInstancesRequest.Builder builder()
public static Class<? extends DescribeInstancesRequest.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.