public static final class MethodDeploymentOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MethodDeploymentOptions
MethodDeploymentOptions
MethodDeploymentOptions.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getCacheDataEncrypted()
Indicates whether the cached responses are encrypted.
|
Duration |
getCacheTtl()
Specifies the time to live (TTL), in seconds, for cached responses.
|
java.lang.Boolean |
getCachingEnabled()
Specifies whether responses should be cached and returned for requests.
|
java.lang.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.
|
java.lang.Boolean |
getMetricsEnabled()
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
java.lang.Number |
getThrottlingBurstLimit()
Specifies the throttling burst limit.
|
java.lang.Number |
getThrottlingRateLimit()
Specifies the throttling rate limit.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Boolean getCacheDataEncrypted()
MethodDeploymentOptions
Default: false
getCacheDataEncrypted
in interface MethodDeploymentOptions
public final Duration getCacheTtl()
MethodDeploymentOptions
The higher the TTL, the longer the response will be cached.
Default: Duration.minutes(5)
getCacheTtl
in interface MethodDeploymentOptions
public final java.lang.Boolean getCachingEnabled()
MethodDeploymentOptions
A cache cluster must be enabled on the stage for responses to be cached.
Default: - Caching is Disabled.
getCachingEnabled
in interface MethodDeploymentOptions
public final java.lang.Boolean getDataTraceEnabled()
MethodDeploymentOptions
When 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 MethodDeploymentOptions
public final MethodLoggingLevel getLoggingLevel()
MethodDeploymentOptions
Default: - Off
getLoggingLevel
in interface MethodDeploymentOptions
public final java.lang.Boolean getMetricsEnabled()
MethodDeploymentOptions
Default: false
getMetricsEnabled
in interface MethodDeploymentOptions
public final java.lang.Number getThrottlingBurstLimit()
MethodDeploymentOptions
The total rate of all requests in your AWS account is limited to 5,000 requests.
Default: - No additional restriction.
getThrottlingBurstLimit
in interface MethodDeploymentOptions
public final java.lang.Number getThrottlingRateLimit()
MethodDeploymentOptions
The 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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()