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.Token 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.Token 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(com.fasterxml.jackson.databind.node.ObjectNode value)
Sets the value of DefinitionBody
|
CfnApiProps.Builder |
withDefinitionBody(software.amazon.awscdk.Token value)
Sets the value of DefinitionBody
|
CfnApiProps.Builder |
withDefinitionUri(CfnApi.S3LocationProperty value)
Sets the value of DefinitionUri
|
CfnApiProps.Builder |
withDefinitionUri(String value)
Sets the value of DefinitionUri
|
CfnApiProps.Builder |
withDefinitionUri(software.amazon.awscdk.Token value)
Sets the value of DefinitionUri
|
CfnApiProps.Builder |
withEndpointConfiguration(String value)
Sets the value of EndpointConfiguration
|
CfnApiProps.Builder |
withMethodSettings(com.fasterxml.jackson.databind.node.ObjectNode value)
Sets the value of MethodSettings
|
CfnApiProps.Builder |
withMethodSettings(software.amazon.awscdk.Token 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.Token value)
Sets the value of TracingEnabled
|
CfnApiProps.Builder |
withVariables(Map<String,String> value)
Sets the value of Variables
|
CfnApiProps.Builder |
withVariables(software.amazon.awscdk.Token value)
Sets the value of Variables
|
public CfnApiProps.Builder withStageName(String value)
value - `AWS::Serverless::Api.StageName`.thispublic CfnApiProps.Builder withAuth(@Nullable CfnApi.AuthProperty value)
value - `AWS::Serverless::Api.Auth`.thispublic CfnApiProps.Builder withAuth(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Serverless::Api.Auth`.thispublic CfnApiProps.Builder withBinaryMediaTypes(@Nullable List<String> value)
value - `AWS::Serverless::Api.BinaryMediaTypes`.thispublic CfnApiProps.Builder withCacheClusterEnabled(@Nullable Boolean value)
value - `AWS::Serverless::Api.CacheClusterEnabled`.thispublic CfnApiProps.Builder withCacheClusterEnabled(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Serverless::Api.CacheClusterEnabled`.thispublic CfnApiProps.Builder withCacheClusterSize(@Nullable String value)
value - `AWS::Serverless::Api.CacheClusterSize`.thispublic CfnApiProps.Builder withCors(@Nullable String value)
value - `AWS::Serverless::Api.Cors`.thispublic CfnApiProps.Builder withDefinitionBody(@Nullable com.fasterxml.jackson.databind.node.ObjectNode value)
value - `AWS::Serverless::Api.DefinitionBody`.thispublic CfnApiProps.Builder withDefinitionBody(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Serverless::Api.DefinitionBody`.thispublic CfnApiProps.Builder withDefinitionUri(@Nullable String value)
value - `AWS::Serverless::Api.DefinitionUri`.thispublic CfnApiProps.Builder withDefinitionUri(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Serverless::Api.DefinitionUri`.thispublic CfnApiProps.Builder withDefinitionUri(@Nullable CfnApi.S3LocationProperty value)
value - `AWS::Serverless::Api.DefinitionUri`.thispublic CfnApiProps.Builder withEndpointConfiguration(@Nullable String value)
value - `AWS::Serverless::Api.EndpointConfiguration`.thispublic CfnApiProps.Builder withMethodSettings(@Nullable com.fasterxml.jackson.databind.node.ObjectNode value)
value - `AWS::Serverless::Api.MethodSettings`.thispublic CfnApiProps.Builder withMethodSettings(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Serverless::Api.MethodSettings`.thispublic CfnApiProps.Builder withName(@Nullable String value)
value - `AWS::Serverless::Api.Name`.thispublic CfnApiProps.Builder withTracingEnabled(@Nullable Boolean value)
value - `AWS::Serverless::Api.TracingEnabled`.thispublic CfnApiProps.Builder withTracingEnabled(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Serverless::Api.TracingEnabled`.thispublic CfnApiProps.Builder withVariables(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Serverless::Api.Variables`.thispublic CfnApiProps.Builder withVariables(@Nullable Map<String,String> value)
value - `AWS::Serverless::Api.Variables`.thispublic CfnApiProps build()
CfnApiPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.