@Stability(value=Stable) public static final class CfnDeployment.StageDescriptionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDeployment.StageDescriptionProperty>
CfnDeployment.StageDescriptionProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder accessLogSetting(CfnDeployment.AccessLogSettingProperty accessLogSetting)
CfnDeployment.StageDescriptionProperty.getAccessLogSetting()accessLogSetting - Specifies settings for logging access in this stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder accessLogSetting(IResolvable accessLogSetting)
CfnDeployment.StageDescriptionProperty.getAccessLogSetting()accessLogSetting - Specifies settings for logging access in this stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder cacheClusterEnabled(Boolean cacheClusterEnabled)
CfnDeployment.StageDescriptionProperty.getCacheClusterEnabled()cacheClusterEnabled - Indicates whether cache clustering is enabled for the stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder cacheClusterEnabled(IResolvable cacheClusterEnabled)
CfnDeployment.StageDescriptionProperty.getCacheClusterEnabled()cacheClusterEnabled - Indicates whether cache clustering is enabled for the stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder cacheClusterSize(String cacheClusterSize)
CfnDeployment.StageDescriptionProperty.getCacheClusterSize()cacheClusterSize - The size of the stage's cache cluster.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder cacheDataEncrypted(Boolean cacheDataEncrypted)
CfnDeployment.StageDescriptionProperty.getCacheDataEncrypted()cacheDataEncrypted - Indicates whether the cached responses are encrypted.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder cacheDataEncrypted(IResolvable cacheDataEncrypted)
CfnDeployment.StageDescriptionProperty.getCacheDataEncrypted()cacheDataEncrypted - Indicates whether the cached responses are encrypted.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder cacheTtlInSeconds(Number cacheTtlInSeconds)
CfnDeployment.StageDescriptionProperty.getCacheTtlInSeconds()cacheTtlInSeconds - The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder cachingEnabled(Boolean cachingEnabled)
CfnDeployment.StageDescriptionProperty.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.StageDescriptionProperty.Builder cachingEnabled(IResolvable cachingEnabled)
CfnDeployment.StageDescriptionProperty.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.StageDescriptionProperty.Builder canarySetting(CfnDeployment.CanarySettingProperty canarySetting)
CfnDeployment.StageDescriptionProperty.getCanarySetting()canarySetting - Specifies settings for the canary deployment in this stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder canarySetting(IResolvable canarySetting)
CfnDeployment.StageDescriptionProperty.getCanarySetting()canarySetting - Specifies settings for the canary deployment in this stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder clientCertificateId(String clientCertificateId)
CfnDeployment.StageDescriptionProperty.getClientCertificateId()clientCertificateId - The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder dataTraceEnabled(Boolean dataTraceEnabled)
CfnDeployment.StageDescriptionProperty.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.StageDescriptionProperty.Builder dataTraceEnabled(IResolvable dataTraceEnabled)
CfnDeployment.StageDescriptionProperty.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.StageDescriptionProperty.Builder description(String description)
CfnDeployment.StageDescriptionProperty.getDescription()description - A description of the purpose of the stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder documentationVersion(String documentationVersion)
CfnDeployment.StageDescriptionProperty.getDocumentationVersion()documentationVersion - The version identifier of the API documentation snapshot.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder loggingLevel(String loggingLevel)
CfnDeployment.StageDescriptionProperty.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.StageDescriptionProperty.Builder methodSettings(IResolvable methodSettings)
CfnDeployment.StageDescriptionProperty.getMethodSettings()methodSettings - Configures settings for all of the stage's methods.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder methodSettings(List<? extends Object> methodSettings)
CfnDeployment.StageDescriptionProperty.getMethodSettings()methodSettings - Configures settings for all of the stage's methods.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder metricsEnabled(Boolean metricsEnabled)
CfnDeployment.StageDescriptionProperty.getMetricsEnabled()metricsEnabled - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder metricsEnabled(IResolvable metricsEnabled)
CfnDeployment.StageDescriptionProperty.getMetricsEnabled()metricsEnabled - Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder tags(List<? extends CfnTag> tags)
CfnDeployment.StageDescriptionProperty.getTags()tags - An array of arbitrary tags (key-value pairs) to associate with the stage.this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder throttlingBurstLimit(Number throttlingBurstLimit)
CfnDeployment.StageDescriptionProperty.getThrottlingBurstLimit()throttlingBurstLimit - The target request burst rate limit.
This allows more requests through for a period of time than the target rate limit. For more information, see Manage API Request Throttling in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder throttlingRateLimit(Number throttlingRateLimit)
CfnDeployment.StageDescriptionProperty.getThrottlingRateLimit()throttlingRateLimit - The target request steady-state rate limit.
For more information, see Manage API Request Throttling in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder tracingEnabled(Boolean tracingEnabled)
CfnDeployment.StageDescriptionProperty.getTracingEnabled()tracingEnabled - Specifies whether active tracing with X-ray is enabled for this stage.
For more information, see Trace API Gateway API Execution with AWS X-Ray in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder tracingEnabled(IResolvable tracingEnabled)
CfnDeployment.StageDescriptionProperty.getTracingEnabled()tracingEnabled - Specifies whether active tracing with X-ray is enabled for this stage.
For more information, see Trace API Gateway API Execution with AWS X-Ray in the API Gateway Developer Guide .this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder variables(IResolvable variables)
CfnDeployment.StageDescriptionProperty.getVariables()variables - A map that defines the stage variables.
Variable names must consist of alphanumeric characters, and the values must match the following regular expression: [A-Za-z0-9-._~:/?#&=,]+ .this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty.Builder variables(Map<String,String> variables)
CfnDeployment.StageDescriptionProperty.getVariables()variables - A map that defines the stage variables.
Variable names must consist of alphanumeric characters, and the values must match the following regular expression: [A-Za-z0-9-._~:/?#&=,]+ .this@Stability(value=Stable) public CfnDeployment.StageDescriptionProperty build()
build in interface software.amazon.jsii.Builder<CfnDeployment.StageDescriptionProperty>CfnDeployment.StageDescriptionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.