@Stability(value=Stable) public static final class CfnDeployment.MethodSettingProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDeployment.MethodSettingProperty>
CfnDeployment.MethodSettingProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder cacheDataEncrypted(Boolean cacheDataEncrypted)
CfnDeployment.MethodSettingProperty.getCacheDataEncrypted()cacheDataEncrypted - Indicates whether the cached responses are encrypted.this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder cacheDataEncrypted(IResolvable cacheDataEncrypted)
CfnDeployment.MethodSettingProperty.getCacheDataEncrypted()cacheDataEncrypted - Indicates whether the cached responses are encrypted.this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder cacheTtlInSeconds(Number cacheTtlInSeconds)
CfnDeployment.MethodSettingProperty.getCacheTtlInSeconds()cacheTtlInSeconds - The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder cachingEnabled(Boolean cachingEnabled)
CfnDeployment.MethodSettingProperty.getCachingEnabled()cachingEnabled - Indicates whether responses are cached and returned for requests.
You must enable a cache cluster on the stage to cache responses. For more information, see Enable API Gateway Caching in a Stage to Enhance API Performance in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder cachingEnabled(IResolvable cachingEnabled)
CfnDeployment.MethodSettingProperty.getCachingEnabled()cachingEnabled - Indicates whether responses are cached and returned for requests.
You must enable a cache cluster on the stage to cache responses. For more information, see Enable API Gateway Caching in a Stage to Enhance API Performance in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder dataTraceEnabled(Boolean dataTraceEnabled)
CfnDeployment.MethodSettingProperty.getDataTraceEnabled()dataTraceEnabled - Indicates whether data trace logging is enabled for methods in the stage.
API Gateway pushes these logs to Amazon CloudWatch Logs.this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder dataTraceEnabled(IResolvable dataTraceEnabled)
CfnDeployment.MethodSettingProperty.getDataTraceEnabled()dataTraceEnabled - Indicates whether data trace logging is enabled for methods in the stage.
API Gateway pushes these logs to Amazon CloudWatch Logs.this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder httpMethod(String httpMethod)
CfnDeployment.MethodSettingProperty.getHttpMethod()httpMethod - The HTTP method.this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder loggingLevel(String loggingLevel)
CfnDeployment.MethodSettingProperty.getLoggingLevel()loggingLevel - The logging level for this method.
For valid values, see the loggingLevel property of the Stage resource in the Amazon API Gateway API Reference .this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder metricsEnabled(Boolean metricsEnabled)
CfnDeployment.MethodSettingProperty.getMetricsEnabled()metricsEnabled - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder metricsEnabled(IResolvable metricsEnabled)
CfnDeployment.MethodSettingProperty.getMetricsEnabled()metricsEnabled - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder resourcePath(String resourcePath)
CfnDeployment.MethodSettingProperty.getResourcePath()resourcePath - The resource path for this method.
Forward slashes ( / ) are encoded as ~1 and the initial slash must include a forward slash. For example, the path value /resource/subresource must be encoded as /~1resource~1subresource . To specify the root path, use only a slash ( / ).this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder throttlingBurstLimit(Number throttlingBurstLimit)
CfnDeployment.MethodSettingProperty.getThrottlingBurstLimit()throttlingBurstLimit - The number of burst requests per second that API Gateway permits across all APIs, stages, and methods in your AWS account .
For more information, see Manage API Request Throttling in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty.Builder throttlingRateLimit(Number throttlingRateLimit)
CfnDeployment.MethodSettingProperty.getThrottlingRateLimit()throttlingRateLimit - The number of steady-state requests per second that API Gateway permits across all APIs, stages, and methods in your AWS account .
For more information, see Manage API Request Throttling in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnDeployment.MethodSettingProperty build()
build in interface software.amazon.jsii.Builder<CfnDeployment.MethodSettingProperty>CfnDeployment.MethodSettingPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.