public class SearchGameServerSessionsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
SearchGameServerSessionsRequest()  | 
SearchGameServerSessionsRequest(SearchGameServerSessionsRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAliasId()
Get Alias ID 
 | 
String | 
getFilterExpression()
Get Search filter expression. 
 | 
String | 
getFleetId()
Get Fleet ID 
 | 
Long | 
getLimit()
Get Maximum number of entries in a single query 
 | 
String | 
getNextToken()
Get Pagination offset, which is used for querying the next page. 
 | 
String | 
getSortExpression()
Get Sorting keyword
Valid values:
gameServerSessionName: game session name in `String` type
gameServerSessionId: game session ID in `String` type
maximumSessions: maximum number of player sessions in `Number` type
creationTimeMillis: creation time in milliseconds in `Number` type
playerSessionCount: current number of player sessions in `Number` type 
 | 
void | 
setAliasId(String AliasId)
Set Alias ID 
 | 
void | 
setFilterExpression(String FilterExpression)
Set Search filter expression. 
 | 
void | 
setFleetId(String FleetId)
Set Fleet ID 
 | 
void | 
setLimit(Long Limit)
Set Maximum number of entries in a single query 
 | 
void | 
setNextToken(String NextToken)
Set Pagination offset, which is used for querying the next page. 
 | 
void | 
setSortExpression(String SortExpression)
Set Sorting keyword
Valid values:
gameServerSessionName: game session name in `String` type
gameServerSessionId: game session ID in `String` type
maximumSessions: maximum number of player sessions in `Number` type
creationTimeMillis: creation time in milliseconds in `Number` type
playerSessionCount: current number of player sessions in `Number` type 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic SearchGameServerSessionsRequest()
public SearchGameServerSessionsRequest(SearchGameServerSessionsRequest source)
public String getAliasId()
public void setAliasId(String AliasId)
AliasId - Alias IDpublic String getFleetId()
public void setFleetId(String FleetId)
FleetId - Fleet IDpublic Long getLimit()
public void setLimit(Long Limit)
Limit - Maximum number of entries in a single querypublic String getNextToken()
public void setNextToken(String NextToken)
NextToken - Pagination offset, which is used for querying the next page. It should contain 1 to 1024 ASCII characters.public String getFilterExpression()
public void setFilterExpression(String FilterExpression)
FilterExpression - Search filter expression. Valid values:
gameServerSessionName: game session name in `String` type
gameServerSessionId: game session ID in `String` type
maximumSessions: maximum number of player sessions in `Number` type
creationTimeMillis: creation time in milliseconds in `Number` type
playerSessionCount: current number of player sessions in `Number` type
hasAvailablePlayerSessions: whether there is available player session in `String` type. Valid values: true, false
gameServerSessionProperties: game session attributes in `String` type
Expressions in `String` type support = and <> for judgment
Expressions in `Number` type support =, <>, >, >=, <, and <= for judgment
Example:
If FilterExpression takes the value:
playerSessionCount>=2 AND hasAvailablePlayerSessions=true"
It means searching for game sessions that have at least two players and have player sessions available.
If FilterExpression takes the value:
gameServerSessionProperties.K1 = 'V1' AND gameServerSessionProperties.K2 = 'V2' OR gameServerSessionProperties.K3 = 'V3'
it means
searching for game sessions that meets the following game server session attributes
{
    "GameProperties":[
        {
            "Key":"K1",
            "Value":"V1"
        },
        {
            "Key":"K2",
            "Value":"V2"
        },
        {
            "Key":"K3",
            "Value":"V3"
        }
    ]
}public String getSortExpression()
public void setSortExpression(String SortExpression)
SortExpression - Sorting keyword
Valid values:
gameServerSessionName: game session name in `String` type
gameServerSessionId: game session ID in `String` type
maximumSessions: maximum number of player sessions in `Number` type
creationTimeMillis: creation time in milliseconds in `Number` type
playerSessionCount: current number of player sessions in `Number` typeCopyright © 2025. All rights reserved.