@Stability(value=Experimental) @Internal public static final class ApiKeyOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApiKeyOptions
ApiKeyOptionssoftware.amazon.jsii.JsiiObject.InitializationModeApiKeyOptions.Builder, ApiKeyOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String apiKeyName,
String value,
CorsOptions defaultCorsPreflightOptions,
Integration defaultIntegration,
MethodOptions defaultMethodOptions)
Constructor that initializes the object based on literal property values passed by the
ApiKeyOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getApiKeyName()
(experimental) A name for the API key.
|
CorsOptions |
getDefaultCorsPreflightOptions()
(experimental) Adds a CORS preflight OPTIONS method to this resource and all child resources.
|
Integration |
getDefaultIntegration()
(experimental) An integration to use as a default for all methods created within this API unless an integration is specified.
|
MethodOptions |
getDefaultMethodOptions()
(experimental) Method options to use as a default for all methods created within this API unless custom options are specified.
|
String |
getValue()
(experimental) The value of the API key.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String apiKeyName, String value, CorsOptions defaultCorsPreflightOptions, Integration defaultIntegration, MethodOptions defaultMethodOptions)
ApiKeyOptions.Builder.public final String getApiKeyName()
ApiKeyOptionsIf 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
getApiKeyName in interface ApiKeyOptionspublic final String getValue()
ApiKeyOptionsMust be at least 20 characters long.
Default: none
getValue in interface ApiKeyOptionspublic final CorsOptions getDefaultCorsPreflightOptions()
ResourceOptions
You can add CORS at the resource-level using addCorsPreflight.
Default: - CORS is disabled
getDefaultCorsPreflightOptions in interface ResourceOptionspublic final Integration getDefaultIntegration()
ResourceOptionsDefault: - Inherited from parent.
getDefaultIntegration in interface ResourceOptionspublic final MethodOptions getDefaultMethodOptions()
ResourceOptionsDefault: - Inherited from parent.
getDefaultMethodOptions in interface ResourceOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.