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()
Creates a shallow clone of this request.
|
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()
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)
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)
Game session status to filter results on.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 a game session. Specify the game session to retrieve information on.
gameSessionId
- Unique identifier for a game session. Specify the game session to
retrieve information on.public String getGameSessionId()
Unique identifier for a game session. Specify the game session to retrieve information on.
public DescribeGameSessionsRequest withGameSessionId(String gameSessionId)
Unique identifier for a game session. Specify the game session to retrieve information on.
gameSessionId
- Unique identifier for a game session. Specify the game session to
retrieve information on.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 states include ACTIVE, TERMINATED, ACTIVATING and TERMINATING (the last two are transitory).
statusFilter
- Game session status to filter results on. Possible game session
states include ACTIVE, TERMINATED, ACTIVATING and TERMINATING (the
last two are transitory).public String getStatusFilter()
Game session status to filter results on. Possible game session states include 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 states include ACTIVE, TERMINATED, ACTIVATING and TERMINATING (the last two are transitory).
statusFilter
- Game session status to filter results on. Possible game session
states include ACTIVE, TERMINATED, ACTIVATING and TERMINATING (the
last two are transitory).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. 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 Object
Object.toString()
public DescribeGameSessionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.