public static interface GameSessionQueue.Builder extends SdkPojo, CopyableBuilder<GameSessionQueue.Builder,GameSessionQueue>
| Modifier and Type | Method and Description |
|---|---|
GameSessionQueue.Builder |
destinations(Collection<GameSessionQueueDestination> destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue.
|
GameSessionQueue.Builder |
destinations(Consumer<GameSessionQueueDestination.Builder>... destinations)
A list of fleets that can be used to fulfill game session placement requests in the queue.
|
GameSessionQueue.Builder |
destinations(GameSessionQueueDestination... destinations)
A 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 GameLift game session queue resource and uniquely identifies it.
|
GameSessionQueue.Builder |
name(String name)
A descriptive label that is associated with game session queue.
|
GameSessionQueue.Builder |
playerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player
latency information.
|
GameSessionQueue.Builder |
playerLatencyPolicies(Consumer<PlayerLatencyPolicy.Builder>... playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player
latency information.
|
GameSessionQueue.Builder |
playerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies)
A collection of latency policies to apply when processing game sessions placement requests with player
latency information.
|
GameSessionQueue.Builder |
timeoutInSeconds(Integer timeoutInSeconds)
The maximum time, in seconds, that a new game session placement request remains in the queue.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGameSessionQueue.Builder name(String name)
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
name - A 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 GameLift game session queue resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift game session queue ARN, the resource ID matches the Name value.
gameSessionQueueArn - Amazon Resource Name (ARN) that is
assigned to a GameLift game session queue resource and uniquely identifies it. ARNs are unique across
all Regions. In a GameLift game session queue ARN, the resource ID matches the Name value.GameSessionQueue.Builder timeoutInSeconds(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.
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.GameSessionQueue.Builder playerLatencyPolicies(Collection<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.
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.GameSessionQueue.Builder playerLatencyPolicies(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.
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.GameSessionQueue.Builder playerLatencyPolicies(Consumer<PlayerLatencyPolicy.Builder>... 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.
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)
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.
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.GameSessionQueue.Builder destinations(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.
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.GameSessionQueue.Builder destinations(Consumer<GameSessionQueueDestination.Builder>... 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.
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 © 2020. All rights reserved.