@Stability(value=Stable) public static final class CfnFleet.ResourceCreationLimitPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFleet.ResourceCreationLimitPolicyProperty>
CfnFleet.ResourceCreationLimitPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFleet.ResourceCreationLimitPolicyProperty |
build()
Builds the configured instance.
|
CfnFleet.ResourceCreationLimitPolicyProperty.Builder |
newGameSessionsPerCreator(Number newGameSessionsPerCreator)
|
CfnFleet.ResourceCreationLimitPolicyProperty.Builder |
policyPeriodInMinutes(Number policyPeriodInMinutes)
Sets the value of
CfnFleet.ResourceCreationLimitPolicyProperty.getPolicyPeriodInMinutes() |
@Stability(value=Stable) public CfnFleet.ResourceCreationLimitPolicyProperty.Builder newGameSessionsPerCreator(Number newGameSessionsPerCreator)
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.
this@Stability(value=Stable) public CfnFleet.ResourceCreationLimitPolicyProperty.Builder policyPeriodInMinutes(Number policyPeriodInMinutes)
CfnFleet.ResourceCreationLimitPolicyProperty.getPolicyPeriodInMinutes()policyPeriodInMinutes - The time span used in evaluating the resource creation limit policy.this@Stability(value=Stable) public CfnFleet.ResourceCreationLimitPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnFleet.ResourceCreationLimitPolicyProperty>CfnFleet.ResourceCreationLimitPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.