@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 |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getGameSessionId()
Unique identifier for the game session to add players to.
|
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 |
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 |
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGameSessionId(String gameSessionId)
Unique identifier for the game session to add players to. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
gameSessionId
- Unique identifier for the game session to add players to. Game session ID format is as follows:
"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of
<ID string> is either a custom ID string (if one was specified when the game session was created) an
autogenerated string.public String getGameSessionId()
Unique identifier for the game session to add players to. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
public CreatePlayerSessionsRequest withGameSessionId(String gameSessionId)
Unique identifier for the game session to add players to. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
gameSessionId
- Unique identifier for the game session to add players to. Game session ID format is as follows:
"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of
<ID string> is either a custom ID string (if one was specified when the game session was created) an
autogenerated string.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 Object
Object.toString()
public CreatePlayerSessionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.