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 a game session.
|
Integer |
getLimit()
Maximum number of results to return.
|
String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
String |
getStatusFilter()
Indicate a 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 a game session.
|
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)
Indicate a 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 a game session.
|
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)
Indicate a game session status to filter results on.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setFleetId(String fleetId)
Unique identifier for a fleet. Specify only one fleet ID, alias ID or game session ID.
fleetId - Unique identifier for a fleet. Specify only one fleet ID, alias ID
or game session ID.public String getFleetId()
Unique identifier for a fleet. Specify only one fleet ID, alias ID or game session ID.
public DescribeGameSessionsRequest withFleetId(String fleetId)
Unique identifier for a fleet. Specify only one fleet ID, alias ID or game session ID.
fleetId - Unique identifier for a fleet. Specify only one fleet ID, alias ID
or game session ID.public void setGameSessionId(String gameSessionId)
Unique identifier for a game session. Specify only one fleet ID, alias ID or game session ID.
gameSessionId - Unique identifier for a game session. Specify only one fleet ID,
alias ID or game session ID.public String getGameSessionId()
Unique identifier for a game session. Specify only one fleet ID, alias ID or game session ID.
public DescribeGameSessionsRequest withGameSessionId(String gameSessionId)
Unique identifier for a game session. Specify only one fleet ID, alias ID or game session ID.
gameSessionId - Unique identifier for a game session. Specify only one fleet ID,
alias ID or game session ID.public void setAliasId(String aliasId)
Unique identifier for a fleet alias. Specify only one fleet ID, alias ID or game session ID.
aliasId - Unique identifier for a fleet alias. Specify only one fleet ID,
alias ID or game session ID.public String getAliasId()
Unique identifier for a fleet alias. Specify only one fleet ID, alias ID or game session ID.
public DescribeGameSessionsRequest withAliasId(String aliasId)
Unique identifier for a fleet alias. Specify only one fleet ID, alias ID or game session ID.
aliasId - Unique identifier for a fleet alias. Specify only one fleet ID,
alias ID or game session ID.public void setStatusFilter(String statusFilter)
Indicate a game session status to filter results on. (Note: ACTIVATING and TERMINATING are short-term transitory states only.)
statusFilter - Indicate a game session status to filter results on. (Note:
ACTIVATING and TERMINATING are short-term transitory states only.)public String getStatusFilter()
Indicate a game session status to filter results on. (Note: ACTIVATING and TERMINATING are short-term transitory states only.)
public DescribeGameSessionsRequest withStatusFilter(String statusFilter)
Indicate a game session status to filter results on. (Note: ACTIVATING and TERMINATING are short-term transitory states only.)
statusFilter - Indicate a game session status to filter results on. (Note:
ACTIVATING and TERMINATING are short-term transitory states only.)public void setLimit(Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit - Maximum number of results to return. You can use this parameter
with NextToken to get results as a set of sequential pages.public Integer getLimit()
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
public DescribeGameSessionsRequest withLimit(Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit - Maximum number of results to return. You can 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. A token is returned any time there may be additional results to be retrieved. To start at the beginning of a result set, do not set this parameter.
nextToken - Token indicating the start of the next sequential page of results.
A token is returned any time there may be additional results to be
retrieved. To start at the beginning of a result set, do not set
this parameter.public String getNextToken()
Token indicating the start of the next sequential page of results. A token is returned any time there may be additional results to be retrieved. To start at the beginning of a result set, do not set this parameter.
public DescribeGameSessionsRequest withNextToken(String nextToken)
Token indicating the start of the next sequential page of results. A token is returned any time there may be additional results to be retrieved. To start at the beginning of a result set, do not set this parameter.
nextToken - Token indicating the start of the next sequential page of results.
A token is returned any time there may be additional results to be
retrieved. To start at the beginning of a result set, do not set
this parameter.public String toString()
toString in class ObjectObject.toString()public DescribeGameSessionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.