@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GameSessionQueue extends Object implements Serializable, Cloneable, StructuredPojo
Configuration for a game session placement mechanism that processes requests for new game sessions. A queue can be used on its own or as part of a matchmaking solution.
Constructor and Description |
---|
GameSessionQueue() |
Modifier and Type | Method and Description |
---|---|
GameSessionQueue |
clone() |
boolean |
equals(Object obj) |
String |
getCustomEventData()
Information that is added to all events that are related to this game session queue.
|
List<GameSessionQueueDestination> |
getDestinations()
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
|
FilterConfiguration |
getFilterConfiguration()
A list of locations where a queue is allowed to place new game sessions.
|
String |
getGameSessionQueueArn()
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it.
|
String |
getName()
A descriptive label that is associated with game session queue.
|
String |
getNotificationTarget()
An SNS topic ARN that is set up to receive game session placement notifications.
|
List<PlayerLatencyPolicy> |
getPlayerLatencyPolicies()
A set of policies that act as a sliding cap on player latency.
|
PriorityConfiguration |
getPriorityConfiguration()
Custom settings to use when prioritizing destinations and locations for game session placements.
|
Integer |
getTimeoutInSeconds()
The maximum time, in seconds, that a new game session placement request remains in the queue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomEventData(String customEventData)
Information that is added to all events that are related to this game session queue.
|
void |
setDestinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
|
void |
setFilterConfiguration(FilterConfiguration filterConfiguration)
A list of locations where a queue is allowed to place new game sessions.
|
void |
setGameSessionQueueArn(String gameSessionQueueArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it.
|
void |
setName(String name)
A descriptive label that is associated with game session queue.
|
void |
setNotificationTarget(String notificationTarget)
An SNS topic ARN that is set up to receive game session placement notifications.
|
void |
setPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A set of policies that act as a sliding cap on player latency.
|
void |
setPriorityConfiguration(PriorityConfiguration priorityConfiguration)
Custom settings to use when prioritizing destinations and locations for game session placements.
|
void |
setTimeoutInSeconds(Integer timeoutInSeconds)
The maximum time, in seconds, that a new game session placement request remains in the queue.
|
String |
toString()
Returns a string representation of this object.
|
GameSessionQueue |
withCustomEventData(String customEventData)
Information that is added to all events that are related to this game session queue.
|
GameSessionQueue |
withDestinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
|
GameSessionQueue |
withDestinations(GameSessionQueueDestination... destinations)
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
|
GameSessionQueue |
withFilterConfiguration(FilterConfiguration filterConfiguration)
A list of locations where a queue is allowed to place new game sessions.
|
GameSessionQueue |
withGameSessionQueueArn(String gameSessionQueueArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it.
|
GameSessionQueue |
withName(String name)
A descriptive label that is associated with game session queue.
|
GameSessionQueue |
withNotificationTarget(String notificationTarget)
An SNS topic ARN that is set up to receive game session placement notifications.
|
GameSessionQueue |
withPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A set of policies that act as a sliding cap on player latency.
|
GameSessionQueue |
withPlayerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies)
A set of policies that act as a sliding cap on player latency.
|
GameSessionQueue |
withPriorityConfiguration(PriorityConfiguration priorityConfiguration)
Custom settings to use when prioritizing destinations and locations for game session placements.
|
GameSessionQueue |
withTimeoutInSeconds(Integer timeoutInSeconds)
The maximum time, in seconds, that a new game session placement request remains in the queue.
|
public void setName(String name)
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
name
- A descriptive label that is associated with game session queue. Queue names must be unique within each
Region.public String getName()
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
public GameSessionQueue withName(String name)
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
name
- A descriptive label that is associated with game session queue. Queue names must be unique within each
Region.public void setGameSessionQueueArn(String gameSessionQueueArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it. ARNs are unique
across all Regions. Format is arn:aws:gamelift:<region>::gamesessionqueue/<queue name>
.
In a Amazon GameLift game session queue ARN, the resource ID matches the Name value.
gameSessionQueueArn
- The Amazon Resource Name (ARN) that is assigned to a
Amazon GameLift game session queue resource and uniquely identifies it. ARNs are unique across all
Regions. Format is arn:aws:gamelift:<region>::gamesessionqueue/<queue name>
. In a
Amazon GameLift game session queue ARN, the resource ID matches the Name value.public String getGameSessionQueueArn()
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it. ARNs are unique
across all Regions. Format is arn:aws:gamelift:<region>::gamesessionqueue/<queue name>
.
In a Amazon GameLift game session queue ARN, the resource ID matches the Name value.
arn:aws:gamelift:<region>::gamesessionqueue/<queue name>
. In
a Amazon GameLift game session queue ARN, the resource ID matches the Name value.public GameSessionQueue withGameSessionQueueArn(String gameSessionQueueArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it. ARNs are unique
across all Regions. Format is arn:aws:gamelift:<region>::gamesessionqueue/<queue name>
.
In a Amazon GameLift game session queue ARN, the resource ID matches the Name value.
gameSessionQueueArn
- The Amazon Resource Name (ARN) that is assigned to a
Amazon GameLift game session queue resource and uniquely identifies it. ARNs are unique across all
Regions. Format is arn:aws:gamelift:<region>::gamesessionqueue/<queue name>
. In a
Amazon GameLift game session queue ARN, the resource ID matches the Name value.public void setTimeoutInSeconds(Integer timeoutInSeconds)
The maximum time, in seconds, that a new game session placement request remains in the queue. When a request
exceeds this time, the game session placement changes to a TIMED_OUT
status. By default, this
property is set to 600
.
timeoutInSeconds
- The maximum time, in seconds, that a new game session placement request remains in the queue. When a
request exceeds this time, the game session placement changes to a TIMED_OUT
status. By
default, this property is set to 600
.public Integer getTimeoutInSeconds()
The maximum time, in seconds, that a new game session placement request remains in the queue. When a request
exceeds this time, the game session placement changes to a TIMED_OUT
status. By default, this
property is set to 600
.
TIMED_OUT
status. By
default, this property is set to 600
.public GameSessionQueue withTimeoutInSeconds(Integer timeoutInSeconds)
The maximum time, in seconds, that a new game session placement request remains in the queue. When a request
exceeds this time, the game session placement changes to a TIMED_OUT
status. By default, this
property is set to 600
.
timeoutInSeconds
- The maximum time, in seconds, that a new game session placement request remains in the queue. When a
request exceeds this time, the game session placement changes to a TIMED_OUT
status. By
default, this property is set to 600
.public List<PlayerLatencyPolicy> getPlayerLatencyPolicies()
A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.
public void setPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.
playerLatencyPolicies
- A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for
most players in a game session. These policies ensure that no individual player can be placed into a game
with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a
time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest
value.public GameSessionQueue withPlayerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies)
A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.
NOTE: This method appends the values to the existing list (if any). Use
setPlayerLatencyPolicies(java.util.Collection)
or
withPlayerLatencyPolicies(java.util.Collection)
if you want to override the existing values.
playerLatencyPolicies
- A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for
most players in a game session. These policies ensure that no individual player can be placed into a game
with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a
time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest
value.public GameSessionQueue withPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.
playerLatencyPolicies
- A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for
most players in a game session. These policies ensure that no individual player can be placed into a game
with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a
time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest
value.public List<GameSessionQueueDestination> getDestinations()
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
public void setDestinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
destinations
- A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the
queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of
placement preference.public GameSessionQueue withDestinations(GameSessionQueueDestination... destinations)
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
or withDestinations(java.util.Collection)
if you want to
override the existing values.
destinations
- A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the
queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of
placement preference.public GameSessionQueue withDestinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
destinations
- A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the
queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of
placement preference.public void setFilterConfiguration(FilterConfiguration filterConfiguration)
A list of locations where a queue is allowed to place new game sessions. Locations are specified in the form of
Amazon Web Services Region codes, such as us-west-2
. If this parameter is not set, game sessions can
be placed in any queue location.
filterConfiguration
- A list of locations where a queue is allowed to place new game sessions. Locations are specified in the
form of Amazon Web Services Region codes, such as us-west-2
. If this parameter is not set,
game sessions can be placed in any queue location.public FilterConfiguration getFilterConfiguration()
A list of locations where a queue is allowed to place new game sessions. Locations are specified in the form of
Amazon Web Services Region codes, such as us-west-2
. If this parameter is not set, game sessions can
be placed in any queue location.
us-west-2
. If this parameter is not set,
game sessions can be placed in any queue location.public GameSessionQueue withFilterConfiguration(FilterConfiguration filterConfiguration)
A list of locations where a queue is allowed to place new game sessions. Locations are specified in the form of
Amazon Web Services Region codes, such as us-west-2
. If this parameter is not set, game sessions can
be placed in any queue location.
filterConfiguration
- A list of locations where a queue is allowed to place new game sessions. Locations are specified in the
form of Amazon Web Services Region codes, such as us-west-2
. If this parameter is not set,
game sessions can be placed in any queue location.public void setPriorityConfiguration(PriorityConfiguration priorityConfiguration)
Custom settings to use when prioritizing destinations and locations for game session placements. This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.
priorityConfiguration
- Custom settings to use when prioritizing destinations and locations for game session placements. This
configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly
named will be automatically applied at the end of the prioritization process.public PriorityConfiguration getPriorityConfiguration()
Custom settings to use when prioritizing destinations and locations for game session placements. This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.
public GameSessionQueue withPriorityConfiguration(PriorityConfiguration priorityConfiguration)
Custom settings to use when prioritizing destinations and locations for game session placements. This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.
priorityConfiguration
- Custom settings to use when prioritizing destinations and locations for game session placements. This
configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly
named will be automatically applied at the end of the prioritization process.public void setCustomEventData(String customEventData)
Information that is added to all events that are related to this game session queue.
customEventData
- Information that is added to all events that are related to this game session queue.public String getCustomEventData()
Information that is added to all events that are related to this game session queue.
public GameSessionQueue withCustomEventData(String customEventData)
Information that is added to all events that are related to this game session queue.
customEventData
- Information that is added to all events that are related to this game session queue.public void setNotificationTarget(String notificationTarget)
An SNS topic ARN that is set up to receive game session placement notifications. See Setting up notifications for game session placement.
notificationTarget
- An SNS topic ARN that is set up to receive game session placement notifications. See Setting up
notifications for game session placement.public String getNotificationTarget()
An SNS topic ARN that is set up to receive game session placement notifications. See Setting up notifications for game session placement.
public GameSessionQueue withNotificationTarget(String notificationTarget)
An SNS topic ARN that is set up to receive game session placement notifications. See Setting up notifications for game session placement.
notificationTarget
- An SNS topic ARN that is set up to receive game session placement notifications. See Setting up
notifications for game session placement.public String toString()
toString
in class Object
Object.toString()
public GameSessionQueue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.