public class CreatePlayerSessionsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
gameSessionId
Unique identifier for a game session.
|
private java.util.List<java.lang.String> |
playerIds
List of unique identifiers for the players to be added.
|
NOOP
Constructor and Description |
---|
CreatePlayerSessionsRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePlayerSessionsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGameSessionId()
Unique identifier for a game session.
|
java.util.List<java.lang.String> |
getPlayerIds()
List of unique identifiers for the players to be added.
|
int |
hashCode() |
void |
setGameSessionId(java.lang.String gameSessionId)
Unique identifier for a game session.
|
void |
setPlayerIds(java.util.Collection<java.lang.String> playerIds)
List of unique identifiers for the players to be added.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreatePlayerSessionsRequest |
withGameSessionId(java.lang.String gameSessionId)
Unique identifier for a game session.
|
CreatePlayerSessionsRequest |
withPlayerIds(java.util.Collection<java.lang.String> playerIds)
List of unique identifiers for the players to be added.
|
CreatePlayerSessionsRequest |
withPlayerIds(java.lang.String... playerIds)
List of unique identifiers for the players to be added.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String gameSessionId
Unique identifier for a game session.
private java.util.List<java.lang.String> playerIds
List of unique identifiers for the players to be added.
public void setGameSessionId(java.lang.String gameSessionId)
Unique identifier for a game session.
gameSessionId
- Unique identifier for a game session.public java.lang.String getGameSessionId()
Unique identifier for a game session.
public CreatePlayerSessionsRequest withGameSessionId(java.lang.String gameSessionId)
Unique identifier for a game session.
gameSessionId
- Unique identifier for a game session.public java.util.List<java.lang.String> getPlayerIds()
List of unique identifiers for the players to be added.
public void setPlayerIds(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.String> playerIds)
List of unique identifiers for the players to be added.
playerIds
- List of unique identifiers for the players to be added.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreatePlayerSessionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()