@Stability(value=External) public static final class CfnApiProps.Builder extends Object
CfnApiProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApiProps.Builder |
accessLogSetting(CfnApi.AccessLogSettingProperty accessLogSetting)
Sets the value of AccessLogSetting
|
CfnApiProps.Builder |
accessLogSetting(software.amazon.awscdk.core.IResolvable accessLogSetting)
Sets the value of AccessLogSetting
|
CfnApiProps.Builder |
auth(CfnApi.AuthProperty auth)
Sets the value of Auth
|
CfnApiProps.Builder |
auth(software.amazon.awscdk.core.IResolvable auth)
Sets the value of Auth
|
CfnApiProps.Builder |
binaryMediaTypes(List<String> binaryMediaTypes)
Sets the value of BinaryMediaTypes
|
CfnApiProps |
build()
Builds the configured instance.
|
CfnApiProps.Builder |
cacheClusterEnabled(Boolean cacheClusterEnabled)
Sets the value of CacheClusterEnabled
|
CfnApiProps.Builder |
cacheClusterEnabled(software.amazon.awscdk.core.IResolvable cacheClusterEnabled)
Sets the value of CacheClusterEnabled
|
CfnApiProps.Builder |
cacheClusterSize(String cacheClusterSize)
Sets the value of CacheClusterSize
|
CfnApiProps.Builder |
cors(String cors)
Sets the value of Cors
|
CfnApiProps.Builder |
definitionBody(Object definitionBody)
Sets the value of DefinitionBody
|
CfnApiProps.Builder |
definitionUri(CfnApi.S3LocationProperty definitionUri)
Sets the value of DefinitionUri
|
CfnApiProps.Builder |
definitionUri(software.amazon.awscdk.core.IResolvable definitionUri)
Sets the value of DefinitionUri
|
CfnApiProps.Builder |
definitionUri(String definitionUri)
Sets the value of DefinitionUri
|
CfnApiProps.Builder |
endpointConfiguration(String endpointConfiguration)
Sets the value of EndpointConfiguration
|
CfnApiProps.Builder |
methodSettings(Object methodSettings)
Sets the value of MethodSettings
|
CfnApiProps.Builder |
name(String name)
Sets the value of Name
|
CfnApiProps.Builder |
stageName(String stageName)
Sets the value of StageName
|
CfnApiProps.Builder |
tracingEnabled(Boolean tracingEnabled)
Sets the value of TracingEnabled
|
CfnApiProps.Builder |
tracingEnabled(software.amazon.awscdk.core.IResolvable tracingEnabled)
Sets the value of TracingEnabled
|
CfnApiProps.Builder |
variables(software.amazon.awscdk.core.IResolvable variables)
Sets the value of Variables
|
CfnApiProps.Builder |
variables(Map<String,String> variables)
Sets the value of Variables
|
@Stability(value=External) public CfnApiProps.Builder stageName(String stageName)
stageName - `AWS::Serverless::Api.StageName`. This parameter is required.this@Stability(value=External) public CfnApiProps.Builder accessLogSetting(software.amazon.awscdk.core.IResolvable accessLogSetting)
accessLogSetting - `AWS::Serverless::Api.AccessLogSetting`.this@Stability(value=External) public CfnApiProps.Builder accessLogSetting(CfnApi.AccessLogSettingProperty accessLogSetting)
accessLogSetting - `AWS::Serverless::Api.AccessLogSetting`.this@Stability(value=External) public CfnApiProps.Builder auth(software.amazon.awscdk.core.IResolvable auth)
auth - `AWS::Serverless::Api.Auth`.this@Stability(value=External) public CfnApiProps.Builder auth(CfnApi.AuthProperty auth)
auth - `AWS::Serverless::Api.Auth`.this@Stability(value=External) public CfnApiProps.Builder binaryMediaTypes(List<String> binaryMediaTypes)
binaryMediaTypes - `AWS::Serverless::Api.BinaryMediaTypes`.this@Stability(value=External) public CfnApiProps.Builder cacheClusterEnabled(Boolean cacheClusterEnabled)
cacheClusterEnabled - `AWS::Serverless::Api.CacheClusterEnabled`.this@Stability(value=External) public CfnApiProps.Builder cacheClusterEnabled(software.amazon.awscdk.core.IResolvable cacheClusterEnabled)
cacheClusterEnabled - `AWS::Serverless::Api.CacheClusterEnabled`.this@Stability(value=External) public CfnApiProps.Builder cacheClusterSize(String cacheClusterSize)
cacheClusterSize - `AWS::Serverless::Api.CacheClusterSize`.this@Stability(value=External) public CfnApiProps.Builder cors(String cors)
cors - `AWS::Serverless::Api.Cors`.this@Stability(value=External) public CfnApiProps.Builder definitionBody(Object definitionBody)
definitionBody - `AWS::Serverless::Api.DefinitionBody`.this@Stability(value=External) public CfnApiProps.Builder definitionUri(String definitionUri)
definitionUri - `AWS::Serverless::Api.DefinitionUri`.this@Stability(value=External) public CfnApiProps.Builder definitionUri(software.amazon.awscdk.core.IResolvable definitionUri)
definitionUri - `AWS::Serverless::Api.DefinitionUri`.this@Stability(value=External) public CfnApiProps.Builder definitionUri(CfnApi.S3LocationProperty definitionUri)
definitionUri - `AWS::Serverless::Api.DefinitionUri`.this@Stability(value=External) public CfnApiProps.Builder endpointConfiguration(String endpointConfiguration)
endpointConfiguration - `AWS::Serverless::Api.EndpointConfiguration`.this@Stability(value=External) public CfnApiProps.Builder methodSettings(Object methodSettings)
methodSettings - `AWS::Serverless::Api.MethodSettings`.this@Stability(value=External) public CfnApiProps.Builder name(String name)
name - `AWS::Serverless::Api.Name`.this@Stability(value=External) public CfnApiProps.Builder tracingEnabled(Boolean tracingEnabled)
tracingEnabled - `AWS::Serverless::Api.TracingEnabled`.this@Stability(value=External) public CfnApiProps.Builder tracingEnabled(software.amazon.awscdk.core.IResolvable tracingEnabled)
tracingEnabled - `AWS::Serverless::Api.TracingEnabled`.this@Stability(value=External) public CfnApiProps.Builder variables(software.amazon.awscdk.core.IResolvable variables)
variables - `AWS::Serverless::Api.Variables`.this@Stability(value=External) public CfnApiProps.Builder variables(Map<String,String> variables)
variables - `AWS::Serverless::Api.Variables`.this@Stability(value=External) public CfnApiProps build()
CfnApiPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.