Class CreatePlayerSessionsResult
java.lang.Object
com.amazonaws.services.gamelift.model.CreatePlayerSessionsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the returned data in response to a request action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Collection of player session objects created for the added players.int
hashCode()
void
setPlayerSessions
(Collection<PlayerSession> playerSessions) Collection of player session objects created for the added players.toString()
Returns a string representation of this object; useful for testing and debugging.withPlayerSessions
(PlayerSession... playerSessions) Collection of player session objects created for the added players.withPlayerSessions
(Collection<PlayerSession> playerSessions) Collection of player session objects created for the added players.
-
Constructor Details
-
CreatePlayerSessionsResult
public CreatePlayerSessionsResult()
-
-
Method Details
-
getPlayerSessions
Collection of player session objects created for the added players.
- Returns:
- Collection of player session objects created for the added players.
-
setPlayerSessions
Collection of player session objects created for the added players.
- Parameters:
playerSessions
- Collection of player session objects created for the added players.
-
withPlayerSessions
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)
orwithPlayerSessions(java.util.Collection)
if you want to override the existing values.- Parameters:
playerSessions
- Collection of player session objects created for the added players.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPlayerSessions
Collection of player session objects created for the added players.
- Parameters:
playerSessions
- Collection of player session objects created for the added players.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-