@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 |
addPlayerDataMapEntry(String key,
String value) |
CreatePlayerSessionsRequest |
clearPlayerDataMapEntries()
Removes all the entries added into PlayerDataMap.
|
CreatePlayerSessionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGameSessionId()
Unique identifier for the game session to add players to.
|
Map<String,String> |
getPlayerDataMap()
Map of string pairs, each specifying a player ID and a set of developer-defined information related to the
player.
|
List<String> |
getPlayerIds()
List of unique identifiers for the players to be added.
|
int |
hashCode() |
void |
setGameSessionId(String gameSessionId)
Unique identifier for the game session to add players to.
|
void |
setPlayerDataMap(Map<String,String> playerDataMap)
Map of string pairs, each specifying a player ID and a set of developer-defined information related to the
player.
|
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 the game session to add players to.
|
CreatePlayerSessionsRequest |
withPlayerDataMap(Map<String,String> playerDataMap)
Map of string pairs, each specifying a player ID and a set of developer-defined information related to the
player.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setGameSessionId(String gameSessionId)
Unique identifier for the game session to add players to.
gameSessionId - Unique identifier for the game session to add players to.public String getGameSessionId()
Unique identifier for the game session to add players to.
public CreatePlayerSessionsRequest withGameSessionId(String gameSessionId)
Unique identifier for the game session to add players to.
gameSessionId - Unique identifier for the game session to add players to.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 Map<String,String> getPlayerDataMap()
Map of string pairs, each specifying a player ID and a set of developer-defined information related to the
player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. Player data
strings for player IDs not included in the PlayerIds parameter are ignored.
PlayerIds parameter are ignored.public void setPlayerDataMap(Map<String,String> playerDataMap)
Map of string pairs, each specifying a player ID and a set of developer-defined information related to the
player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. Player data
strings for player IDs not included in the PlayerIds parameter are ignored.
playerDataMap - Map of string pairs, each specifying a player ID and a set of developer-defined information related to the
player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.
Player data strings for player IDs not included in the PlayerIds parameter are ignored.public CreatePlayerSessionsRequest withPlayerDataMap(Map<String,String> playerDataMap)
Map of string pairs, each specifying a player ID and a set of developer-defined information related to the
player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. Player data
strings for player IDs not included in the PlayerIds parameter are ignored.
playerDataMap - Map of string pairs, each specifying a player ID and a set of developer-defined information related to the
player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.
Player data strings for player IDs not included in the PlayerIds parameter are ignored.public CreatePlayerSessionsRequest addPlayerDataMapEntry(String key, String value)
public CreatePlayerSessionsRequest clearPlayerDataMapEntries()
public String toString()
toString in class ObjectObject.toString()public CreatePlayerSessionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.