@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartMatchmakingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartMatchmakingRequest() |
Modifier and Type | Method and Description |
---|---|
StartMatchmakingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConfigurationName()
Name of the matchmaking configuration to use for this request.
|
List<Player> |
getPlayers()
Information on each player to be matched.
|
String |
getTicketId()
A unique identifier for a matchmaking ticket.
|
int |
hashCode() |
void |
setConfigurationName(String configurationName)
Name of the matchmaking configuration to use for this request.
|
void |
setPlayers(Collection<Player> players)
Information on each player to be matched.
|
void |
setTicketId(String ticketId)
A unique identifier for a matchmaking ticket.
|
String |
toString()
Returns a string representation of this object.
|
StartMatchmakingRequest |
withConfigurationName(String configurationName)
Name of the matchmaking configuration to use for this request.
|
StartMatchmakingRequest |
withPlayers(Collection<Player> players)
Information on each player to be matched.
|
StartMatchmakingRequest |
withPlayers(Player... players)
Information on each player to be matched.
|
StartMatchmakingRequest |
withTicketId(String ticketId)
A unique identifier for a matchmaking ticket.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTicketId(String ticketId)
A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results.
ticketId
- A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will
generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and
retrieve match results.public String getTicketId()
A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results.
public StartMatchmakingRequest withTicketId(String ticketId)
A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results.
ticketId
- A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will
generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and
retrieve match results.public void setConfigurationName(String configurationName)
Name of the matchmaking configuration to use for this request. Matchmaking configurations must exist in the same Region as this request. You can use either the configuration name or ARN value.
configurationName
- Name of the matchmaking configuration to use for this request. Matchmaking configurations must exist in
the same Region as this request. You can use either the configuration name or ARN value.public String getConfigurationName()
Name of the matchmaking configuration to use for this request. Matchmaking configurations must exist in the same Region as this request. You can use either the configuration name or ARN value.
public StartMatchmakingRequest withConfigurationName(String configurationName)
Name of the matchmaking configuration to use for this request. Matchmaking configurations must exist in the same Region as this request. You can use either the configuration name or ARN value.
configurationName
- Name of the matchmaking configuration to use for this request. Matchmaking configurations must exist in
the same Region as this request. You can use either the configuration name or ARN value.public List<Player> getPlayers()
Information on each player to be matched. This information must include a player ID, and may contain player
attributes and latency data to be used in the matchmaking process. After a successful match, Player
objects contain the name of the team the player is assigned to.
You can include up to 10 Players
in a StartMatchmaking
request.
Player
objects contain the name of the team the player is assigned to.
You can include up to 10 Players
in a StartMatchmaking
request.
public void setPlayers(Collection<Player> players)
Information on each player to be matched. This information must include a player ID, and may contain player
attributes and latency data to be used in the matchmaking process. After a successful match, Player
objects contain the name of the team the player is assigned to.
You can include up to 10 Players
in a StartMatchmaking
request.
players
- Information on each player to be matched. This information must include a player ID, and may contain
player attributes and latency data to be used in the matchmaking process. After a successful match,
Player
objects contain the name of the team the player is assigned to.
You can include up to 10 Players
in a StartMatchmaking
request.
public StartMatchmakingRequest withPlayers(Player... players)
Information on each player to be matched. This information must include a player ID, and may contain player
attributes and latency data to be used in the matchmaking process. After a successful match, Player
objects contain the name of the team the player is assigned to.
You can include up to 10 Players
in a StartMatchmaking
request.
NOTE: This method appends the values to the existing list (if any). Use
setPlayers(java.util.Collection)
or withPlayers(java.util.Collection)
if you want to override
the existing values.
players
- Information on each player to be matched. This information must include a player ID, and may contain
player attributes and latency data to be used in the matchmaking process. After a successful match,
Player
objects contain the name of the team the player is assigned to.
You can include up to 10 Players
in a StartMatchmaking
request.
public StartMatchmakingRequest withPlayers(Collection<Player> players)
Information on each player to be matched. This information must include a player ID, and may contain player
attributes and latency data to be used in the matchmaking process. After a successful match, Player
objects contain the name of the team the player is assigned to.
You can include up to 10 Players
in a StartMatchmaking
request.
players
- Information on each player to be matched. This information must include a player ID, and may contain
player attributes and latency data to be used in the matchmaking process. After a successful match,
Player
objects contain the name of the team the player is assigned to.
You can include up to 10 Players
in a StartMatchmaking
request.
public String toString()
toString
in class Object
Object.toString()
public StartMatchmakingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()