@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePlayerSessionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePlayerSessionsResult() |
Modifier and Type | Method and Description |
---|---|
CreatePlayerSessionsResult |
clone() |
boolean |
equals(Object obj) |
List<PlayerSession> |
getPlayerSessions()
A collection of player session objects created for the added players.
|
int |
hashCode() |
void |
setPlayerSessions(Collection<PlayerSession> playerSessions)
A collection of player session objects created for the added players.
|
String |
toString()
Returns a string representation of this object.
|
CreatePlayerSessionsResult |
withPlayerSessions(Collection<PlayerSession> playerSessions)
A collection of player session objects created for the added players.
|
CreatePlayerSessionsResult |
withPlayerSessions(PlayerSession... playerSessions)
A collection of player session objects created for the added players.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PlayerSession> getPlayerSessions()
A collection of player session objects created for the added players.
public void setPlayerSessions(Collection<PlayerSession> playerSessions)
A collection of player session objects created for the added players.
playerSessions
- A collection of player session objects created for the added players.public CreatePlayerSessionsResult withPlayerSessions(PlayerSession... playerSessions)
A collection of player session objects created for the added players.
NOTE: This method appends the values to the existing list (if any). Use
setPlayerSessions(java.util.Collection)
or withPlayerSessions(java.util.Collection)
if you want
to override the existing values.
playerSessions
- A collection of player session objects created for the added players.public CreatePlayerSessionsResult withPlayerSessions(Collection<PlayerSession> playerSessions)
A collection of player session objects created for the added players.
playerSessions
- A collection of player session objects created for the added players.public String toString()
toString
in class Object
Object.toString()
public CreatePlayerSessionsResult clone()