@Stability(value=Experimental) public static final class MethodDeploymentOptions.Builder extends Object implements software.amazon.jsii.Builder<MethodDeploymentOptions>
MethodDeploymentOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public MethodDeploymentOptions.Builder cacheDataEncrypted(Boolean cacheDataEncrypted)
MethodDeploymentOptions.getCacheDataEncrypted()cacheDataEncrypted - Indicates whether the cached responses are encrypted.this@Stability(value=Experimental) public MethodDeploymentOptions.Builder cacheTtl(Duration cacheTtl)
MethodDeploymentOptions.getCacheTtl()cacheTtl - Specifies the time to live (TTL), in seconds, for cached responses.
The
higher the TTL, the longer the response will be cached.this@Stability(value=Experimental) public MethodDeploymentOptions.Builder cachingEnabled(Boolean cachingEnabled)
MethodDeploymentOptions.getCachingEnabled()cachingEnabled - Specifies whether responses should be cached and returned for requests.
A
cache cluster must be enabled on the stage for responses to be cached.this@Stability(value=Experimental) public MethodDeploymentOptions.Builder dataTraceEnabled(Boolean dataTraceEnabled)
MethodDeploymentOptions.getDataTraceEnabled()dataTraceEnabled - Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.this@Stability(value=Experimental) public MethodDeploymentOptions.Builder loggingLevel(MethodLoggingLevel loggingLevel)
MethodDeploymentOptions.getLoggingLevel()loggingLevel - Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs.this@Stability(value=Experimental) public MethodDeploymentOptions.Builder metricsEnabled(Boolean metricsEnabled)
MethodDeploymentOptions.getMetricsEnabled()metricsEnabled - Specifies whether Amazon CloudWatch metrics are enabled for this method.this@Stability(value=Experimental) public MethodDeploymentOptions.Builder throttlingBurstLimit(Number throttlingBurstLimit)
MethodDeploymentOptions.getThrottlingBurstLimit()throttlingBurstLimit - Specifies the throttling burst limit.
The total rate of all requests in your AWS account is limited to 5,000 requests.this@Stability(value=Experimental) public MethodDeploymentOptions.Builder throttlingRateLimit(Number throttlingRateLimit)
MethodDeploymentOptions.getThrottlingRateLimit()throttlingRateLimit - Specifies the throttling rate limit.
The total rate of all requests in your AWS account is limited to 10,000 requests per second (rps).this@Stability(value=Experimental) public MethodDeploymentOptions build()
build in interface software.amazon.jsii.Builder<MethodDeploymentOptions>MethodDeploymentOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.