@Generated(value="software.amazon.awssdk:codegen") public final class CreateGameSessionQueueRequest extends GameLiftRequest implements ToCopyableBuilder<CreateGameSessionQueueRequest.Builder,CreateGameSessionQueueRequest>
Represents the input for a request operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateGameSessionQueueRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateGameSessionQueueRequest.Builder |
builder() |
List<GameSessionQueueDestination> |
destinations()
A list of fleets that can be used to fulfill game session placement requests in the queue.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDestinations()
Returns true if the Destinations property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasPlayerLatencyPolicies()
Returns true if the PlayerLatencyPolicies property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
name()
A descriptive label that is associated with game session queue.
|
List<PlayerLatencyPolicy> |
playerLatencyPolicies()
A collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateGameSessionQueueRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
A list of labels to assign to the new game session queue resource.
|
Integer |
timeoutInSeconds()
The maximum time, in seconds, that a new game session placement request remains in the queue.
|
CreateGameSessionQueueRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
public 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.
TIMED_OUT status.public boolean hasPlayerLatencyPolicies()
public List<PlayerLatencyPolicy> playerLatencyPolicies()
A 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, the policy 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 request fails.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPlayerLatencyPolicies() to see if a value was sent in this field.
MaximumIndividualPlayerLatencyMilliseconds. If none is set, this API request fails.public boolean hasDestinations()
public List<GameSessionQueueDestination> destinations()
A 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDestinations() to see if a value was sent in this field.
public boolean hasTags()
public List<Tag> tags()
A list of labels to assign to the new game session queue resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public CreateGameSessionQueueRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateGameSessionQueueRequest.Builder,CreateGameSessionQueueRequest>toBuilder in class GameLiftRequestpublic static CreateGameSessionQueueRequest.Builder builder()
public static Class<? extends CreateGameSessionQueueRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.