@Generated(value="software.amazon.awssdk:codegen") public final class UpdateGameSessionQueueRequest extends GameLiftRequest implements ToCopyableBuilder<UpdateGameSessionQueueRequest.Builder,UpdateGameSessionQueueRequest>
Represents the input for a request action.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateGameSessionQueueRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateGameSessionQueueRequest.Builder |
builder() |
List<GameSessionQueueDestination> |
destinations()
List of fleets that can be used to fulfill game session placement requests in the queue.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
Descriptive label that is associated with game session queue.
|
List<PlayerLatencyPolicy> |
playerLatencyPolicies()
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
static Class<? extends UpdateGameSessionQueueRequest.Builder> |
serializableBuilderClass() |
Integer |
timeoutInSeconds()
Maximum time, in seconds, that a new game session placement request remains in the queue.
|
UpdateGameSessionQueueRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String name()
Descriptive label that is associated with game session queue. Queue names must be unique within each region.
public 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.
TIMED_OUT
status.public List<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. When updating policies, provide a complete collection of policies.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<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. When updating this list, provide a complete list of destinations.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public UpdateGameSessionQueueRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateGameSessionQueueRequest.Builder,UpdateGameSessionQueueRequest>
toBuilder
in class GameLiftRequest
public static UpdateGameSessionQueueRequest.Builder builder()
public static Class<? extends UpdateGameSessionQueueRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.