Class CfnFleet.ResourceCreationLimitPolicyProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.gamelift.CfnFleet.ResourceCreationLimitPolicyProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnFleet.ResourceCreationLimitPolicyProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnFleet.ResourceCreationLimitPolicyProperty
@Stability(Stable)
@Internal
public static final class CfnFleet.ResourceCreationLimitPolicyProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnFleet.ResourceCreationLimitPolicyProperty
An implementation for
CfnFleet.ResourceCreationLimitPolicyProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.gamelift.CfnFleet.ResourceCreationLimitPolicyProperty
CfnFleet.ResourceCreationLimitPolicyProperty.Builder, CfnFleet.ResourceCreationLimitPolicyProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnFleet.ResourceCreationLimitPolicyProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
A policy that puts limits on the number of game sessions that a player can create within a specified span of time.final Number
The time span used in evaluating the resource creation limit policy.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnFleet.ResourceCreationLimitPolicyProperty.Builder
.
-
-
Method Details
-
getNewGameSessionsPerCreator
Description copied from interface:CfnFleet.ResourceCreationLimitPolicyProperty
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, Amazon GameLift checks that the player (identified byCreatorId
) has created fewer than game session limit in the specified time period.- Specified by:
getNewGameSessionsPerCreator
in interfaceCfnFleet.ResourceCreationLimitPolicyProperty
- See Also:
-
getPolicyPeriodInMinutes
Description copied from interface:CfnFleet.ResourceCreationLimitPolicyProperty
The time span used in evaluating the resource creation limit policy.- Specified by:
getPolicyPeriodInMinutes
in interfaceCfnFleet.ResourceCreationLimitPolicyProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-