@Stability(value=External) public static final class CfnApiProps.Builder extends Object
CfnApiProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApiProps |
build()
Builds the configured instance.
|
CfnApiProps.Builder |
withAuth(CfnApi.AuthProperty value)
Sets the value of Auth
|
CfnApiProps.Builder |
withAuth(software.amazon.awscdk.core.IResolvable value)
Sets the value of Auth
|
CfnApiProps.Builder |
withBinaryMediaTypes(List<String> value)
Sets the value of BinaryMediaTypes
|
CfnApiProps.Builder |
withCacheClusterEnabled(Boolean value)
Sets the value of CacheClusterEnabled
|
CfnApiProps.Builder |
withCacheClusterEnabled(software.amazon.awscdk.core.IResolvable value)
Sets the value of CacheClusterEnabled
|
CfnApiProps.Builder |
withCacheClusterSize(String value)
Sets the value of CacheClusterSize
|
CfnApiProps.Builder |
withCors(String value)
Sets the value of Cors
|
CfnApiProps.Builder |
withDefinitionBody(Object value)
Sets the value of DefinitionBody
|
CfnApiProps.Builder |
withDefinitionUri(CfnApi.S3LocationProperty value)
Sets the value of DefinitionUri
|
CfnApiProps.Builder |
withDefinitionUri(software.amazon.awscdk.core.IResolvable value)
Sets the value of DefinitionUri
|
CfnApiProps.Builder |
withDefinitionUri(String value)
Sets the value of DefinitionUri
|
CfnApiProps.Builder |
withEndpointConfiguration(String value)
Sets the value of EndpointConfiguration
|
CfnApiProps.Builder |
withMethodSettings(Object value)
Sets the value of MethodSettings
|
CfnApiProps.Builder |
withName(String value)
Sets the value of Name
|
CfnApiProps.Builder |
withStageName(String value)
Sets the value of StageName
|
CfnApiProps.Builder |
withTracingEnabled(Boolean value)
Sets the value of TracingEnabled
|
CfnApiProps.Builder |
withTracingEnabled(software.amazon.awscdk.core.IResolvable value)
Sets the value of TracingEnabled
|
CfnApiProps.Builder |
withVariables(software.amazon.awscdk.core.IResolvable value)
Sets the value of Variables
|
CfnApiProps.Builder |
withVariables(Map<String,String> value)
Sets the value of Variables
|
@Stability(value=External) public CfnApiProps.Builder withStageName(String value)
value - `AWS::Serverless::Api.StageName`.this@Stability(value=External) public CfnApiProps.Builder withAuth(@Nullable CfnApi.AuthProperty value)
value - `AWS::Serverless::Api.Auth`.this@Stability(value=External) public CfnApiProps.Builder withAuth(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Api.Auth`.this@Stability(value=External) public CfnApiProps.Builder withBinaryMediaTypes(@Nullable List<String> value)
value - `AWS::Serverless::Api.BinaryMediaTypes`.this@Stability(value=External) public CfnApiProps.Builder withCacheClusterEnabled(@Nullable Boolean value)
value - `AWS::Serverless::Api.CacheClusterEnabled`.this@Stability(value=External) public CfnApiProps.Builder withCacheClusterEnabled(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Api.CacheClusterEnabled`.this@Stability(value=External) public CfnApiProps.Builder withCacheClusterSize(@Nullable String value)
value - `AWS::Serverless::Api.CacheClusterSize`.this@Stability(value=External) public CfnApiProps.Builder withCors(@Nullable String value)
value - `AWS::Serverless::Api.Cors`.this@Stability(value=External) public CfnApiProps.Builder withDefinitionBody(@Nullable Object value)
value - `AWS::Serverless::Api.DefinitionBody`.this@Stability(value=External) public CfnApiProps.Builder withDefinitionUri(@Nullable String value)
value - `AWS::Serverless::Api.DefinitionUri`.this@Stability(value=External) public CfnApiProps.Builder withDefinitionUri(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Api.DefinitionUri`.this@Stability(value=External) public CfnApiProps.Builder withDefinitionUri(@Nullable CfnApi.S3LocationProperty value)
value - `AWS::Serverless::Api.DefinitionUri`.this@Stability(value=External) public CfnApiProps.Builder withEndpointConfiguration(@Nullable String value)
value - `AWS::Serverless::Api.EndpointConfiguration`.this@Stability(value=External) public CfnApiProps.Builder withMethodSettings(@Nullable Object value)
value - `AWS::Serverless::Api.MethodSettings`.this@Stability(value=External) public CfnApiProps.Builder withName(@Nullable String value)
value - `AWS::Serverless::Api.Name`.this@Stability(value=External) public CfnApiProps.Builder withTracingEnabled(@Nullable Boolean value)
value - `AWS::Serverless::Api.TracingEnabled`.this@Stability(value=External) public CfnApiProps.Builder withTracingEnabled(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Api.TracingEnabled`.this@Stability(value=External) public CfnApiProps.Builder withVariables(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Api.Variables`.this@Stability(value=External) public CfnApiProps.Builder withVariables(@Nullable Map<String,String> value)
value - `AWS::Serverless::Api.Variables`.this@Stability(value=External) public CfnApiProps build()
CfnApiPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.