public static interface CreateGameSessionQueueRequest.Builder extends GameLiftRequest.Builder, CopyableBuilder<CreateGameSessionQueueRequest.Builder,CreateGameSessionQueueRequest>
Modifier and Type | Method and Description |
---|---|
CreateGameSessionQueueRequest.Builder |
destinations(Collection<GameSessionQueueDestination> destinations)
List of fleets that can be used to fulfill game session placement requests in the queue.
|
CreateGameSessionQueueRequest.Builder |
destinations(Consumer<GameSessionQueueDestination.Builder>... destinations)
List of fleets that can be used to fulfill game session placement requests in the queue.
|
CreateGameSessionQueueRequest.Builder |
destinations(GameSessionQueueDestination... destinations)
List of fleets that can be used to fulfill game session placement requests in the queue.
|
CreateGameSessionQueueRequest.Builder |
name(String name)
Descriptive label that is associated with game session queue.
|
CreateGameSessionQueueRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateGameSessionQueueRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateGameSessionQueueRequest.Builder |
playerLatencyPolicies(Collection<PlayerLatencyPolicy> playerLatencyPolicies)
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
CreateGameSessionQueueRequest.Builder |
playerLatencyPolicies(Consumer<PlayerLatencyPolicy.Builder>... playerLatencyPolicies)
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
CreateGameSessionQueueRequest.Builder |
playerLatencyPolicies(PlayerLatencyPolicy... playerLatencyPolicies)
Collection of latency policies to apply when processing game sessions placement requests with player latency
information.
|
CreateGameSessionQueueRequest.Builder |
timeoutInSeconds(Integer timeoutInSeconds)
Maximum time, in seconds, that a new game session placement request remains in the queue.
|
build
overrideConfiguration
copy
applyMutation, build
CreateGameSessionQueueRequest.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.CreateGameSessionQueueRequest.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.CreateGameSessionQueueRequest.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. A player latency policy must set a value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.
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. A player latency policy must set a
value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.CreateGameSessionQueueRequest.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. A player latency policy must set a value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.
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. A player latency policy must set a
value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.CreateGameSessionQueueRequest.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. A player latency policy must set a value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.
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)
CreateGameSessionQueueRequest.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.CreateGameSessionQueueRequest.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.CreateGameSessionQueueRequest.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)
CreateGameSessionQueueRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateGameSessionQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.