Class CreatePlayerSessionRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.gamelift.model.CreatePlayerSessionRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
public class CreatePlayerSessionRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
Represents the input for a request action.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanUnique identifier for a game session.Unique identifier for the player to be added.inthashCode()voidsetGameSessionId(String gameSessionId) Unique identifier for a game session.voidsetPlayerId(String playerId) Unique identifier for the player to be added.toString()Returns a string representation of this object; useful for testing and debugging.withGameSessionId(String gameSessionId) Unique identifier for a game session.withPlayerId(String playerId) Unique identifier for the player to be added.Methods inherited from class AmazonWebServiceRequest
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
-
Constructor Details
-
CreatePlayerSessionRequest
public CreatePlayerSessionRequest()
-
-
Method Details
-
setGameSessionId
Unique identifier for a game session. Specify the game session you want to add a player to.
- Parameters:
gameSessionId- Unique identifier for a game session. Specify the game session you want to add a player to.
-
getGameSessionId
Unique identifier for a game session. Specify the game session you want to add a player to.
- Returns:
- Unique identifier for a game session. Specify the game session you want to add a player to.
-
withGameSessionId
Unique identifier for a game session. Specify the game session you want to add a player to.
- Parameters:
gameSessionId- Unique identifier for a game session. Specify the game session you want to add a player to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPlayerId
Unique identifier for the player to be added.
- Parameters:
playerId- Unique identifier for the player to be added.
-
getPlayerId
Unique identifier for the player to be added.
- Returns:
- Unique identifier for the player to be added.
-
withPlayerId
Unique identifier for the player to be added.
- Parameters:
playerId- Unique identifier for the player to be added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-