@Stability(value=Stable) @Internal public static final class MethodDeploymentOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MethodDeploymentOptions
MethodDeploymentOptionssoftware.amazon.jsii.JsiiObject.InitializationModeMethodDeploymentOptions.Builder, MethodDeploymentOptions.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(MethodDeploymentOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
MethodDeploymentOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getCacheDataEncrypted()
Indicates whether the cached responses are encrypted.
|
Duration |
getCacheTtl()
Specifies the time to live (TTL), in seconds, for cached responses.
|
Boolean |
getCachingEnabled()
Specifies whether responses should be cached and returned for requests.
|
Boolean |
getDataTraceEnabled()
Specifies whether data trace logging is enabled for this method.
|
MethodLoggingLevel |
getLoggingLevel()
Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
Boolean |
getMetricsEnabled()
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
Number |
getThrottlingBurstLimit()
Specifies the throttling burst limit.
|
Number |
getThrottlingRateLimit()
Specifies the throttling rate limit.
|
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(MethodDeploymentOptions.Builder builder)
MethodDeploymentOptions.Builder.public final Boolean getCacheDataEncrypted()
MethodDeploymentOptionsDefault: false
getCacheDataEncrypted in interface MethodDeploymentOptionspublic final Duration getCacheTtl()
MethodDeploymentOptionsThe higher the TTL, the longer the response will be cached.
Default: Duration.minutes(5)
getCacheTtl in interface MethodDeploymentOptionspublic final Boolean getCachingEnabled()
MethodDeploymentOptionsA cache cluster must be enabled on the stage for responses to be cached.
Default: - Caching is Disabled.
getCachingEnabled in interface MethodDeploymentOptionspublic final Boolean getDataTraceEnabled()
MethodDeploymentOptionsWhen enabled, API gateway will log the full API requests and responses. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this feature for production APIs.
Default: false
getDataTraceEnabled in interface MethodDeploymentOptionspublic final MethodLoggingLevel getLoggingLevel()
MethodDeploymentOptionsDefault: - Off
getLoggingLevel in interface MethodDeploymentOptionspublic final Boolean getMetricsEnabled()
MethodDeploymentOptionsDefault: false
getMetricsEnabled in interface MethodDeploymentOptionspublic final Number getThrottlingBurstLimit()
MethodDeploymentOptionsThe total rate of all requests in your AWS account is limited to 5,000 requests.
Default: - No additional restriction.
getThrottlingBurstLimit in interface MethodDeploymentOptionspublic final Number getThrottlingRateLimit()
MethodDeploymentOptionsThe total rate of all requests in your AWS account is limited to 10,000 requests per second (rps).
Default: - No additional restriction.
getThrottlingRateLimit in interface MethodDeploymentOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.