Class CreateGameSessionRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input for a request action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Unique identifier for a fleet alias.Unique identifier for a fleet.Set of properties used to administer a game session.Maximum number of players that can be connected simultaneously to the game session.getName()
Descriptive label associated with this game session.int
hashCode()
void
setAliasId
(String aliasId) Unique identifier for a fleet alias.void
setFleetId
(String fleetId) Unique identifier for a fleet.void
setGameProperties
(Collection<GameProperty> gameProperties) Set of properties used to administer a game session.void
setMaximumPlayerSessionCount
(Integer maximumPlayerSessionCount) Maximum number of players that can be connected simultaneously to the game session.void
Descriptive label associated with this game session.toString()
Returns a string representation of this object; useful for testing and debugging.withAliasId
(String aliasId) Unique identifier for a fleet alias.withFleetId
(String fleetId) Unique identifier for a fleet.withGameProperties
(GameProperty... gameProperties) Set of properties used to administer a game session.withGameProperties
(Collection<GameProperty> gameProperties) Set of properties used to administer a game session.withMaximumPlayerSessionCount
(Integer maximumPlayerSessionCount) Maximum number of players that can be connected simultaneously to the game session.Descriptive label associated with this game session.Methods inherited from class com.amazonaws.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
-
CreateGameSessionRequest
public CreateGameSessionRequest()
-
-
Method Details
-
setFleetId
Unique identifier for a fleet. Each request must reference either a fleet ID or alias ID, but not both.
- Parameters:
fleetId
- Unique identifier for a fleet. Each request must reference either a fleet ID or alias ID, but not both.
-
getFleetId
Unique identifier for a fleet. Each request must reference either a fleet ID or alias ID, but not both.
- Returns:
- Unique identifier for a fleet. Each request must reference either a fleet ID or alias ID, but not both.
-
withFleetId
Unique identifier for a fleet. Each request must reference either a fleet ID or alias ID, but not both.
- Parameters:
fleetId
- Unique identifier for a fleet. Each request must reference either a fleet ID or alias ID, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAliasId
Unique identifier for a fleet alias. Each request must reference either a fleet ID or alias ID, but not both.
- Parameters:
aliasId
- Unique identifier for a fleet alias. Each request must reference either a fleet ID or alias ID, but not both.
-
getAliasId
Unique identifier for a fleet alias. Each request must reference either a fleet ID or alias ID, but not both.
- Returns:
- Unique identifier for a fleet alias. Each request must reference either a fleet ID or alias ID, but not both.
-
withAliasId
Unique identifier for a fleet alias. Each request must reference either a fleet ID or alias ID, but not both.
- Parameters:
aliasId
- Unique identifier for a fleet alias. Each request must reference either a fleet ID or alias ID, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaximumPlayerSessionCount
Maximum number of players that can be connected simultaneously to the game session.
- Parameters:
maximumPlayerSessionCount
- Maximum number of players that can be connected simultaneously to the game session.
-
getMaximumPlayerSessionCount
Maximum number of players that can be connected simultaneously to the game session.
- Returns:
- Maximum number of players that can be connected simultaneously to the game session.
-
withMaximumPlayerSessionCount
Maximum number of players that can be connected simultaneously to the game session.
- Parameters:
maximumPlayerSessionCount
- Maximum number of players that can be connected simultaneously to the game session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
Descriptive label associated with this game session. Session names do not need to be unique.
- Parameters:
name
- Descriptive label associated with this game session. Session names do not need to be unique.
-
getName
Descriptive label associated with this game session. Session names do not need to be unique.
- Returns:
- Descriptive label associated with this game session. Session names do not need to be unique.
-
withName
Descriptive label associated with this game session. Session names do not need to be unique.
- Parameters:
name
- Descriptive label associated with this game session. Session names do not need to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getGameProperties
Set of properties used to administer a game session. These properties are passed to your game server.
- Returns:
- Set of properties used to administer a game session. These properties are passed to your game server.
-
setGameProperties
Set of properties used to administer a game session. These properties are passed to your game server.
- Parameters:
gameProperties
- Set of properties used to administer a game session. These properties are passed to your game server.
-
withGameProperties
Set of properties used to administer a game session. These properties are passed to your game server.
NOTE: This method appends the values to the existing list (if any). Use
setGameProperties(java.util.Collection)
orwithGameProperties(java.util.Collection)
if you want to override the existing values.- Parameters:
gameProperties
- Set of properties used to administer a game session. These properties are passed to your game server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGameProperties
Set of properties used to administer a game session. These properties are passed to your game server.
- Parameters:
gameProperties
- Set of properties used to administer a game session. These properties are passed to your game server.- 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
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-