@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GameSessionQueue extends Object implements Serializable, Cloneable, StructuredPojo
Configuration of a queue used to process game session placement requests. The queue configuration identifies the fleets that new game session can be placed on, given available resources, and the length of time a request can remain in the queue waiting for placement.
Queue-related operations include:
Constructor and Description |
---|
GameSessionQueue() |
Modifier and Type | Method and Description |
---|---|
GameSessionQueue |
clone() |
boolean |
equals(Object obj) |
List<GameSessionQueueDestination> |
getDestinations()
List of fleets that can be used to fulfill game session placement requests in the queue.
|
String |
getName()
Descriptive label that is associated with queue.
|
Integer |
getTimeoutInSeconds()
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 |
setDestinations(Collection<GameSessionQueueDestination> destinations)
List of fleets that can be used to fulfill game session placement requests in the queue.
|
void |
setName(String name)
Descriptive label that is associated with queue.
|
void |
setTimeoutInSeconds(Integer timeoutInSeconds)
Maximum time, in seconds, that a new game session placement request remains in the queue.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GameSessionQueue |
withDestinations(Collection<GameSessionQueueDestination> destinations)
List of fleets that can be used to fulfill game session placement requests in the queue.
|
GameSessionQueue |
withDestinations(GameSessionQueueDestination... destinations)
List of fleets that can be used to fulfill game session placement requests in the queue.
|
GameSessionQueue |
withName(String name)
Descriptive label that is associated with queue.
|
GameSessionQueue |
withTimeoutInSeconds(Integer timeoutInSeconds)
Maximum time, in seconds, that a new game session placement request remains in the queue.
|
public void setName(String name)
Descriptive label that is associated with queue. Queue names must be unique within each region.
name
- Descriptive label that is associated with queue. Queue names must be unique within each region.public String getName()
Descriptive label that is associated with queue. Queue names must be unique within each region.
public GameSessionQueue withName(String name)
Descriptive label that is associated with queue. Queue names must be unique within each region.
name
- Descriptive label that is associated with queue. Queue names must be unique within each region.public void setTimeoutInSeconds(Integer timeoutInSeconds)
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.
timeoutInSeconds
- 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.public Integer getTimeoutInSeconds()
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.
public GameSessionQueue withTimeoutInSeconds(Integer timeoutInSeconds)
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.
timeoutInSeconds
- 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.public List<GameSessionQueueDestination> getDestinations()
List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order.
public void setDestinations(Collection<GameSessionQueueDestination> destinations)
List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order.
destinations
- List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are
identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference
order.public GameSessionQueue withDestinations(GameSessionQueueDestination... destinations)
List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order.
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
- List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are
identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference
order.public GameSessionQueue withDestinations(Collection<GameSessionQueueDestination> destinations)
List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order.
destinations
- List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are
identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference
order.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.