Class CfnContainerFleet.GameSessionCreationLimitPolicyProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.gamelift.CfnContainerFleet.GameSessionCreationLimitPolicyProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnContainerFleet.GameSessionCreationLimitPolicyProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnContainerFleet.GameSessionCreationLimitPolicyProperty
@Stability(Stable)
@Internal
public static final class CfnContainerFleet.GameSessionCreationLimitPolicyProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnContainerFleet.GameSessionCreationLimitPolicyProperty
An implementation for
CfnContainerFleet.GameSessionCreationLimitPolicyProperty
-
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.CfnContainerFleet.GameSessionCreationLimitPolicyProperty
CfnContainerFleet.GameSessionCreationLimitPolicyProperty.Builder, CfnContainerFleet.GameSessionCreationLimitPolicyProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnContainerFleet.GameSessionCreationLimitPolicyProperty.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 theCfnContainerFleet.GameSessionCreationLimitPolicyProperty.Builder
.
-
-
Method Details
-
getNewGameSessionsPerCreator
Description copied from interface:CfnContainerFleet.GameSessionCreationLimitPolicyProperty
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 evaluates 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 interfaceCfnContainerFleet.GameSessionCreationLimitPolicyProperty
- See Also:
-
getPolicyPeriodInMinutes
Description copied from interface:CfnContainerFleet.GameSessionCreationLimitPolicyProperty
The time span used in evaluating the resource creation limit policy.- Specified by:
getPolicyPeriodInMinutes
in interfaceCfnContainerFleet.GameSessionCreationLimitPolicyProperty
- 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()
-