public class CreatePlayerSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP| Constructor and Description |
|---|
CreatePlayerSessionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreatePlayerSessionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getGameSessionId()
Unique identifier for a game session.
|
List<String> |
getPlayerIds()
List of unique identifiers for the players to be added.
|
int |
hashCode() |
void |
setGameSessionId(String gameSessionId)
Unique identifier for a game session.
|
void |
setPlayerIds(Collection<String> playerIds)
List of unique identifiers for the players to be added.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreatePlayerSessionsRequest |
withGameSessionId(String gameSessionId)
Unique identifier for a game session.
|
CreatePlayerSessionsRequest |
withPlayerIds(Collection<String> playerIds)
List of unique identifiers for the players to be added.
|
CreatePlayerSessionsRequest |
withPlayerIds(String... playerIds)
List of unique identifiers for the players to be added.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setGameSessionId(String gameSessionId)
Unique identifier for a game session.
gameSessionId - Unique identifier for a game session.public String getGameSessionId()
Unique identifier for a game session.
public CreatePlayerSessionsRequest withGameSessionId(String gameSessionId)
Unique identifier for a game session.
gameSessionId - Unique identifier for a game session.public List<String> getPlayerIds()
List of unique identifiers for the players to be added.
public void setPlayerIds(Collection<String> playerIds)
List of unique identifiers for the players to be added.
playerIds - List of unique identifiers for the players to be added.public CreatePlayerSessionsRequest withPlayerIds(String... playerIds)
List of unique identifiers for the players to be added.
NOTE: This method appends the values to the existing list (if
any). Use setPlayerIds(java.util.Collection) or
withPlayerIds(java.util.Collection) if you want to override the
existing values.
playerIds - List of unique identifiers for the players to be added.public CreatePlayerSessionsRequest withPlayerIds(Collection<String> playerIds)
List of unique identifiers for the players to be added.
playerIds - List of unique identifiers for the players to be added.public String toString()
toString in class ObjectObject.toString()public CreatePlayerSessionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.