@Stability(value=Experimental) @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(Boolean cacheDataEncrypted,
Duration cacheTtl,
Boolean cachingEnabled,
Boolean dataTraceEnabled,
MethodLoggingLevel loggingLevel,
Boolean metricsEnabled,
Number throttlingBurstLimit,
Number throttlingRateLimit)
Constructor that initializes the object based on literal property values passed by the
MethodDeploymentOptions.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) |
Boolean |
getCacheDataEncrypted()
(experimental) Indicates whether the cached responses are encrypted.
|
Duration |
getCacheTtl()
(experimental) Specifies the time to live (TTL), in seconds, for cached responses.
|
Boolean |
getCachingEnabled()
(experimental) Specifies whether responses should be cached and returned for requests.
|
Boolean |
getDataTraceEnabled()
(experimental) Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
MethodLoggingLevel |
getLoggingLevel()
(experimental) Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
Boolean |
getMetricsEnabled()
(experimental) Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
Number |
getThrottlingBurstLimit()
(experimental) Specifies the throttling burst limit.
|
Number |
getThrottlingRateLimit()
(experimental) 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(Boolean cacheDataEncrypted, Duration cacheTtl, Boolean cachingEnabled, Boolean dataTraceEnabled, MethodLoggingLevel loggingLevel, Boolean metricsEnabled, Number throttlingBurstLimit, Number throttlingRateLimit)
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 MethodDeploymentOptionshttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.htmlpublic 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()
MethodDeploymentOptionsDefault: 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 MethodDeploymentOptionshttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.htmlpublic 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 MethodDeploymentOptionshttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.