CopyableBuilder<GameSessionQueue.Builder,GameSessionQueue>
, SdkBuilder<GameSessionQueue.Builder,GameSessionQueue>
public static interface GameSessionQueue.Builder extends CopyableBuilder<GameSessionQueue.Builder,GameSessionQueue>
Modifier and Type | Method | Description |
---|---|---|
GameSessionQueue.Builder |
destinations(Collection<GameSessionQueueDestination> destinations) |
List of fleets that can be used to fulfill game session placement requests in the queue.
|
GameSessionQueue.Builder |
destinations(GameSessionQueueDestination... destinations) |
List of fleets that can be used to fulfill game session placement requests in the queue.
|
GameSessionQueue.Builder |
gameSessionQueueArn(String gameSessionQueueArn) |
Amazon Resource Name (ARN)
that is assigned to a game session queue and uniquely identifies it.
|
GameSessionQueue.Builder |
name(String name) |
Descriptive label that is associated with queue.
|
GameSessionQueue.Builder |
playerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies) |
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
GameSessionQueue.Builder |
playerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies) |
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
GameSessionQueue.Builder |
timeoutInSeconds(Integer timeoutInSeconds) |
Maximum time, in seconds, that a new game session placement request remains in the queue.
|
copy
apply, build
GameSessionQueue.Builder name(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.GameSessionQueue.Builder gameSessionQueueArn(String gameSessionQueueArn)
Amazon Resource Name (ARN)
that is assigned to a game session queue and uniquely identifies it. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
gameSessionQueueArn
- Amazon Resource Name (ARN) that is assigned to
a game session queue and uniquely identifies it. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.GameSessionQueue.Builder timeoutInSeconds(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.GameSessionQueue.Builder playerLatencyPolicies(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.
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.GameSessionQueue.Builder playerLatencyPolicies(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.
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.GameSessionQueue.Builder destinations(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.GameSessionQueue.Builder destinations(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.