@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGameServersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListGameServersRequest() |
Modifier and Type | Method and Description |
---|---|
ListGameServersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGameServerGroupName()
An identifier for the game server group to retrieve a list of game servers from.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getNextToken()
A token that indicates the start of the next sequential segment of results.
|
String |
getSortOrder()
Indicates how to sort the returned data based on game server registration timestamp.
|
int |
hashCode() |
void |
setGameServerGroupName(String gameServerGroupName)
An identifier for the game server group to retrieve a list of game servers from.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
A token that indicates the start of the next sequential segment of results.
|
void |
setSortOrder(String sortOrder)
Indicates how to sort the returned data based on game server registration timestamp.
|
String |
toString()
Returns a string representation of this object.
|
ListGameServersRequest |
withGameServerGroupName(String gameServerGroupName)
An identifier for the game server group to retrieve a list of game servers from.
|
ListGameServersRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
ListGameServersRequest |
withNextToken(String nextToken)
A token that indicates the start of the next sequential segment of results.
|
ListGameServersRequest |
withSortOrder(SortOrder sortOrder)
Indicates how to sort the returned data based on game server registration timestamp.
|
ListGameServersRequest |
withSortOrder(String sortOrder)
Indicates how to sort the returned data based on game server registration timestamp.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGameServerGroupName(String gameServerGroupName)
An identifier for the game server group to retrieve a list of game servers from. Use either the GameServerGroup name or ARN value.
gameServerGroupName
- An identifier for the game server group to retrieve a list of game servers from. Use either the
GameServerGroup name or ARN value.public String getGameServerGroupName()
An identifier for the game server group to retrieve a list of game servers from. Use either the GameServerGroup name or ARN value.
public ListGameServersRequest withGameServerGroupName(String gameServerGroupName)
An identifier for the game server group to retrieve a list of game servers from. Use either the GameServerGroup name or ARN value.
gameServerGroupName
- An identifier for the game server group to retrieve a list of game servers from. Use either the
GameServerGroup name or ARN value.public void setSortOrder(String sortOrder)
Indicates how to sort the returned data based on game server registration timestamp. Use ASCENDING to retrieve oldest game servers first, or use DESCENDING to retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.
sortOrder
- Indicates how to sort the returned data based on game server registration timestamp. Use ASCENDING to
retrieve oldest game servers first, or use DESCENDING to retrieve newest game servers first. If this
parameter is left empty, game servers are returned in no particular order.SortOrder
public String getSortOrder()
Indicates how to sort the returned data based on game server registration timestamp. Use ASCENDING to retrieve oldest game servers first, or use DESCENDING to retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.
SortOrder
public ListGameServersRequest withSortOrder(String sortOrder)
Indicates how to sort the returned data based on game server registration timestamp. Use ASCENDING to retrieve oldest game servers first, or use DESCENDING to retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.
sortOrder
- Indicates how to sort the returned data based on game server registration timestamp. Use ASCENDING to
retrieve oldest game servers first, or use DESCENDING to retrieve newest game servers first. If this
parameter is left empty, game servers are returned in no particular order.SortOrder
public ListGameServersRequest withSortOrder(SortOrder sortOrder)
Indicates how to sort the returned data based on game server registration timestamp. Use ASCENDING to retrieve oldest game servers first, or use DESCENDING to retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.
sortOrder
- Indicates how to sort the returned data based on game server registration timestamp. Use ASCENDING to
retrieve oldest game servers first, or use DESCENDING to retrieve newest game servers first. If this
parameter is left empty, game servers are returned in no particular order.SortOrder
public void setLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential segments.
limit
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential segments.public Integer getLimit()
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential segments.
NextToken
to get results as
a set of sequential segments.public ListGameServersRequest withLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential segments.
limit
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential segments.public void setNextToken(String nextToken)
A token that indicates the start of the next sequential segment of results. Use the token returned with the previous call to this operation. To start at the beginning of the result set, do not specify a value.
nextToken
- A token that indicates the start of the next sequential segment of results. Use the token returned with
the previous call to this operation. To start at the beginning of the result set, do not specify a value.public String getNextToken()
A token that indicates the start of the next sequential segment of results. Use the token returned with the previous call to this operation. To start at the beginning of the result set, do not specify a value.
public ListGameServersRequest withNextToken(String nextToken)
A token that indicates the start of the next sequential segment of results. Use the token returned with the previous call to this operation. To start at the beginning of the result set, do not specify a value.
nextToken
- A token that indicates the start of the next sequential segment of results. Use the token returned with
the previous call to this operation. To start at the beginning of the result set, do not specify a value.public String toString()
toString
in class Object
Object.toString()
public ListGameServersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()