@Generated(value="software.amazon.awssdk:codegen") public final class ListFleetsRequest extends GameLiftRequest implements ToCopyableBuilder<ListFleetsRequest.Builder,ListFleetsRequest>
Represents the input for a request action.
Modifier and Type | Class and Description |
---|---|
static interface |
ListFleetsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListFleetsRequest.Builder |
builder() |
String |
buildId()
Unique identifier for a build to return fleets for.
|
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() |
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 ListFleetsRequest.Builder> |
serializableBuilderClass() |
ListFleetsRequest.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 buildId()
Unique identifier for a build to return fleets for. Use this parameter to return only fleets using the specified build. To retrieve all fleets, leave this parameter empty.
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 ListFleetsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListFleetsRequest.Builder,ListFleetsRequest>
toBuilder
in class GameLiftRequest
public static ListFleetsRequest.Builder builder()
public static Class<? extends ListFleetsRequest.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.