public static interface ResourceCreationLimitPolicy.Builder extends SdkPojo, CopyableBuilder<ResourceCreationLimitPolicy.Builder,ResourceCreationLimitPolicy>
| Modifier and Type | Method and Description |
|---|---|
ResourceCreationLimitPolicy.Builder |
newGameSessionsPerCreator(Integer newGameSessionsPerCreator)
A policy that puts limits on the number of game sessions that a player can create within a specified span of
time.
|
ResourceCreationLimitPolicy.Builder |
policyPeriodInMinutes(Integer policyPeriodInMinutes)
The time span used in evaluating the resource creation limit policy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResourceCreationLimitPolicy.Builder newGameSessionsPerCreator(Integer newGameSessionsPerCreator)
A policy that puts limits on the number of game sessions that a player can create within a specified span of time. With this policy, you can control players' ability to consume available resources.
The policy is evaluated when a player tries to create a new game session. On receiving a
CreateGameSession request, GameLift checks that the player (identified by CreatorId
) has created fewer than game session limit in the specified time period.
newGameSessionsPerCreator - A policy that puts limits on the number of game sessions that a player can create within a specified
span of time. With this policy, you can control players' ability to consume available resources.
The policy is evaluated when a player tries to create a new game session. On receiving a
CreateGameSession request, GameLift checks that the player (identified by
CreatorId) has created fewer than game session limit in the specified time period.
ResourceCreationLimitPolicy.Builder policyPeriodInMinutes(Integer policyPeriodInMinutes)
The time span used in evaluating the resource creation limit policy.
policyPeriodInMinutes - The time span used in evaluating the resource creation limit policy.Copyright © 2022. All rights reserved.