@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGameSessionQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
CreateGameSessionQueueRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGameSessionQueueRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 game session queue.
|
List<PlayerLatencyPolicy> |
getPlayerLatencyPolicies()
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
Integer |
getTimeoutInSeconds()
Maximum time, in seconds, that a new game session placement request remains in the queue.
|
int |
hashCode() |
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 game session queue.
|
void |
setPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
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.
|
CreateGameSessionQueueRequest |
withDestinations(Collection<GameSessionQueueDestination> destinations)
List of fleets that can be used to fulfill game session placement requests in the queue.
|
CreateGameSessionQueueRequest |
withDestinations(GameSessionQueueDestination... destinations)
List of fleets that can be used to fulfill game session placement requests in the queue.
|
CreateGameSessionQueueRequest |
withName(String name)
Descriptive label that is associated with game session queue.
|
CreateGameSessionQueueRequest |
withPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
CreateGameSessionQueueRequest |
withPlayerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies)
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
CreateGameSessionQueueRequest |
withTimeoutInSeconds(Integer timeoutInSeconds)
Maximum time, in seconds, that a new game session placement request remains in the queue.
|
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 setName(String name)
Descriptive label that is associated with game session queue. Queue names must be unique within each region.
name
- Descriptive label that is associated with game session queue. Queue names must be unique within each
region.public String getName()
Descriptive label that is associated with game session queue. Queue names must be unique within each region.
public CreateGameSessionQueueRequest withName(String name)
Descriptive label that is associated with game session queue. Queue names must be unique within each region.
name
- Descriptive label that is associated with game session 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.
TIMED_OUT
status.public CreateGameSessionQueueRequest 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<PlayerLatencyPolicy> getPlayerLatencyPolicies()
Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. A player latency policy must set a value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.
public void setPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. A player latency policy must set a value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.
playerLatencyPolicies
- Collection of latency policies to apply when processing game sessions placement requests with player
latency information. Multiple policies are evaluated in order of the maximum latency value, starting with
the lowest latency values. With just one policy, it is enforced at the start of the game session placement
for the duration period. With multiple policies, each policy is enforced consecutively for its duration
period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no
policy for the remainder of the placement. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.public CreateGameSessionQueueRequest withPlayerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies)
Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. A player latency policy must set a value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.
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
- Collection of latency policies to apply when processing game sessions placement requests with player
latency information. Multiple policies are evaluated in order of the maximum latency value, starting with
the lowest latency values. With just one policy, it is enforced at the start of the game session placement
for the duration period. With multiple policies, each policy is enforced consecutively for its duration
period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no
policy for the remainder of the placement. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.public CreateGameSessionQueueRequest withPlayerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. A player latency policy must set a value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.
playerLatencyPolicies
- Collection of latency policies to apply when processing game sessions placement requests with player
latency information. Multiple policies are evaluated in order of the maximum latency value, starting with
the lowest latency values. With just one policy, it is enforced at the start of the game session placement
for the duration period. With multiple policies, each policy is enforced consecutively for its duration
period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no
policy for the remainder of the placement. A player latency policy must set a value for
MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.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 CreateGameSessionQueueRequest 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 CreateGameSessionQueueRequest 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 CreateGameSessionQueueRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.