@Stability(value=Stable) @Internal public static final class ApiKeyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApiKeyProps
ApiKeyPropssoftware.amazon.jsii.JsiiObject.InitializationModeApiKeyProps.Builder, ApiKeyProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ApiKeyProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ApiKeyProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getApiKeyName()
A name for the API key.
|
String |
getCustomerId()
An AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.
|
CorsOptions |
getDefaultCorsPreflightOptions()
Adds a CORS preflight OPTIONS method to this resource and all child resources.
|
Integration |
getDefaultIntegration()
An integration to use as a default for all methods created within this API unless an integration is specified.
|
MethodOptions |
getDefaultMethodOptions()
Method options to use as a default for all methods created within this API unless custom options are specified.
|
String |
getDescription()
A description of the purpose of the API key.
|
Boolean |
getEnabled()
Indicates whether the API key can be used by clients.
|
Boolean |
getGenerateDistinctId()
Specifies whether the key identifier is distinct from the created API key value.
|
List<IRestApi> |
getResources()
A list of resources this api key is associated with.
|
String |
getValue()
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(ApiKeyProps.Builder builder)
ApiKeyProps.Builder.public final String getCustomerId()
ApiKeyPropsDefault: none
getCustomerId in interface ApiKeyPropspublic final Boolean getEnabled()
ApiKeyPropsDefault: true
getEnabled in interface ApiKeyPropspublic final Boolean getGenerateDistinctId()
ApiKeyPropsDefault: false
getGenerateDistinctId in interface ApiKeyPropspublic final List<IRestApi> getResources()
ApiKeyPropsDefault: none
getResources in interface ApiKeyPropspublic 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 getDescription()
ApiKeyOptionsDefault: none
getDescription 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 © 2022. All rights reserved.