public class DescribeGameSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP| Constructor and Description |
|---|
DescribeGameSessionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeGameSessionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAliasId()
Unique identifier for a fleet alias.
|
String |
getFleetId()
Unique identifier for a fleet.
|
String |
getGameSessionId()
Unique identifier for the game session to retrieve information on.
|
Integer |
getLimit()
Maximum number of results to return.
|
String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
String |
getStatusFilter()
Game session status to filter results on.
|
int |
hashCode() |
void |
setAliasId(String aliasId)
Unique identifier for a fleet alias.
|
void |
setFleetId(String fleetId)
Unique identifier for a fleet.
|
void |
setGameSessionId(String gameSessionId)
Unique identifier for the game session to retrieve information on.
|
void |
setLimit(Integer limit)
Maximum number of results to return.
|
void |
setNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
void |
setStatusFilter(String statusFilter)
Game session status to filter results on.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeGameSessionsRequest |
withAliasId(String aliasId)
Unique identifier for a fleet alias.
|
DescribeGameSessionsRequest |
withFleetId(String fleetId)
Unique identifier for a fleet.
|
DescribeGameSessionsRequest |
withGameSessionId(String gameSessionId)
Unique identifier for the game session to retrieve information on.
|
DescribeGameSessionsRequest |
withLimit(Integer limit)
Maximum number of results to return.
|
DescribeGameSessionsRequest |
withNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
DescribeGameSessionsRequest |
withStatusFilter(String statusFilter)
Game session status to filter results on.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setFleetId(String fleetId)
Unique identifier for a fleet. Specify a fleet to retrieve information on all game sessions active on the fleet.
fleetId - Unique identifier for a fleet. Specify a fleet to retrieve information on all game sessions active on the
fleet.public String getFleetId()
Unique identifier for a fleet. Specify a fleet to retrieve information on all game sessions active on the fleet.
public DescribeGameSessionsRequest withFleetId(String fleetId)
Unique identifier for a fleet. Specify a fleet to retrieve information on all game sessions active on the fleet.
fleetId - Unique identifier for a fleet. Specify a fleet to retrieve information on all game sessions active on the
fleet.public void setGameSessionId(String gameSessionId)
Unique identifier for the game session to retrieve information on. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
gameSessionId - Unique identifier for the game session to retrieve information on. Game session ID format is as follows:
"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of
<ID string> is either a custom ID string (if one was specified when the game session was created) an
auto-generated string.public String getGameSessionId()
Unique identifier for the game session to retrieve information on. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
public DescribeGameSessionsRequest withGameSessionId(String gameSessionId)
Unique identifier for the game session to retrieve information on. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
gameSessionId - Unique identifier for the game session to retrieve information on. Game session ID format is as follows:
"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of
<ID string> is either a custom ID string (if one was specified when the game session was created) an
auto-generated string.public void setAliasId(String aliasId)
Unique identifier for a fleet alias. Specify an alias to retrieve information on all game sessions active on the fleet.
aliasId - Unique identifier for a fleet alias. Specify an alias to retrieve information on all game sessions active
on the fleet.public String getAliasId()
Unique identifier for a fleet alias. Specify an alias to retrieve information on all game sessions active on the fleet.
public DescribeGameSessionsRequest withAliasId(String aliasId)
Unique identifier for a fleet alias. Specify an alias to retrieve information on all game sessions active on the fleet.
aliasId - Unique identifier for a fleet alias. Specify an alias to retrieve information on all game sessions active
on the fleet.public void setStatusFilter(String statusFilter)
Game session status to filter results on. Possible game session statuses include ACTIVE,
TERMINATED, ACTIVATING, and TERMINATING (the last two are transitory).
statusFilter - Game session status to filter results on. Possible game session statuses include ACTIVE,
TERMINATED, ACTIVATING, and TERMINATING (the last two are
transitory).public String getStatusFilter()
Game session status to filter results on. Possible game session statuses include ACTIVE,
TERMINATED, ACTIVATING, and TERMINATING (the last two are transitory).
ACTIVE,
TERMINATED, ACTIVATING, and TERMINATING (the last two are
transitory).public DescribeGameSessionsRequest withStatusFilter(String statusFilter)
Game session status to filter results on. Possible game session statuses include ACTIVE,
TERMINATED, ACTIVATING, and TERMINATING (the last two are transitory).
statusFilter - Game session status to filter results on. Possible game session statuses include ACTIVE,
TERMINATED, ACTIVATING, and TERMINATING (the last two are
transitory).public void setLimit(Integer limit)
Maximum number of results to return. Use this parameter with NextToken to get results as a set of
sequential pages.
limit - Maximum number of results to return. Use this parameter with NextToken to get results as a
set of sequential pages.public Integer getLimit()
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 DescribeGameSessionsRequest withLimit(Integer limit)
Maximum number of results to return. Use this parameter with NextToken to get results as a set of
sequential pages.
limit - Maximum number of results to return. Use this parameter with NextToken to get results as a
set of sequential pages.public void setNextToken(String nextToken)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken - Token indicating the start of the next sequential page of results. Use the token that is returned with a
previous call to this action. To specify the start of the result set, do not specify a value.public String getNextToken()
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
public DescribeGameSessionsRequest withNextToken(String nextToken)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken - Token indicating the start of the next sequential page of results. Use the token that is returned with a
previous call to this action. To specify the start of the result set, do not specify a value.public String toString()
toString in class ObjectObject.toString()public DescribeGameSessionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.