public static interface GameSessionQueue.Builder extends CopyableBuilder<GameSessionQueue.Builder,GameSessionQueue>
Modifier and Type | Method and 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(Consumer<GameSessionQueueDestination.Builder>... 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 game session 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(Consumer<PlayerLatencyPolicy.Builder>... 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
applyMutation, build
GameSessionQueue.Builder name(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.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.
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(Consumer<PlayerLatencyPolicy.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #playerLatencyPolicies(List)
.playerLatencyPolicies
- a consumer that will call methods on List.Builder
#playerLatencyPolicies(List)
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.
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(Consumer<GameSessionQueueDestination.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #destinations(List)
.destinations
- a consumer that will call methods on List.Builder
#destinations(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.