Class ApiKeyOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigateway.ApiKeyOptions.Jsii$Proxy
All Implemented Interfaces:
ApiKeyOptions, ResourceOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ApiKeyOptions

@Stability(Stable) @Internal public static final class ApiKeyOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApiKeyOptions
An implementation for ApiKeyOptions
  • 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(ApiKeyOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ApiKeyOptions.Builder.
  • Method Details

    • getApiKeyName

      public final String getApiKeyName()
      Description copied from interface: ApiKeyOptions
      A name for the API key.

      If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the API key name.

      Default: automically generated name

      Specified by:
      getApiKeyName in interface ApiKeyOptions
    • getDescription

      public final String getDescription()
      Description copied from interface: ApiKeyOptions
      A description of the purpose of the API key.

      Default: none

      Specified by:
      getDescription in interface ApiKeyOptions
    • getValue

      public final String getValue()
      Description copied from interface: ApiKeyOptions
      The value of the API key.

      Must be at least 20 characters long.

      Default: none

      Specified by:
      getValue in interface ApiKeyOptions
    • getDefaultCorsPreflightOptions

      public final CorsOptions getDefaultCorsPreflightOptions()
      Description copied from interface: ResourceOptions
      Adds a CORS preflight OPTIONS method to this resource and all child resources.

      You can add CORS at the resource-level using addCorsPreflight.

      Default: - CORS is disabled

      Specified by:
      getDefaultCorsPreflightOptions in interface ResourceOptions
    • getDefaultIntegration

      public final Integration getDefaultIntegration()
      Description copied from interface: ResourceOptions
      An integration to use as a default for all methods created within this API unless an integration is specified.

      Default: - Inherited from parent.

      Specified by:
      getDefaultIntegration in interface ResourceOptions
    • getDefaultMethodOptions

      public final MethodOptions getDefaultMethodOptions()
      Description copied from interface: ResourceOptions
      Method options to use as a default for all methods created within this API unless custom options are specified.

      Default: - Inherited from parent.

      Specified by:
      getDefaultMethodOptions in interface ResourceOptions
    • $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