Class ResourceCreationLimitPolicy.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.gamelift.alpha.ResourceCreationLimitPolicy.Jsii$Proxy
All Implemented Interfaces:
ResourceCreationLimitPolicy, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ResourceCreationLimitPolicy

@Stability(Experimental) @Internal public static final class ResourceCreationLimitPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourceCreationLimitPolicy
An implementation for ResourceCreationLimitPolicy
  • 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

      protected Jsii$Proxy(ResourceCreationLimitPolicy.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ResourceCreationLimitPolicy.Builder.
  • Method Details

    • getNewGameSessionsPerCreator

      public final Number getNewGameSessionsPerCreator()
      Description copied from interface: ResourceCreationLimitPolicy
      (experimental) The maximum number of game sessions that an individual can create during the policy period.

      Default: no limit on the number of game sessions that an individual can create during the policy period

      Specified by:
      getNewGameSessionsPerCreator in interface ResourceCreationLimitPolicy
    • getPolicyPeriod

      public final Duration getPolicyPeriod()
      Description copied from interface: ResourceCreationLimitPolicy
      (experimental) The time span used in evaluating the resource creation limit policy.

      Default: no policy period

      Specified by:
      getPolicyPeriod in interface ResourceCreationLimitPolicy
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object