Class CfnHttpApiMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnHttpApiMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHttpApiMixinProps>
- Enclosing interface:
CfnHttpApiMixinProps
@Stability(Stable)
public static final class CfnHttpApiMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHttpApiMixinProps>
A builder for
CfnHttpApiMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessLogSetting(CfnHttpApiPropsMixin.AccessLogSettingProperty accessLogSetting) Sets the value ofCfnHttpApiMixinProps.getAccessLogSetting()accessLogSetting(IResolvable accessLogSetting) Sets the value ofCfnHttpApiMixinProps.getAccessLogSetting()Sets the value ofCfnHttpApiMixinProps.getAuth()auth(IResolvable auth) Sets the value ofCfnHttpApiMixinProps.getAuth()build()Builds the configured instance.corsConfiguration(Boolean corsConfiguration) Sets the value ofCfnHttpApiMixinProps.getCorsConfiguration()corsConfiguration(CfnHttpApiPropsMixin.CorsConfigurationObjectProperty corsConfiguration) Sets the value ofCfnHttpApiMixinProps.getCorsConfiguration()corsConfiguration(IResolvable corsConfiguration) Sets the value ofCfnHttpApiMixinProps.getCorsConfiguration()defaultRouteSettings(CfnHttpApiPropsMixin.RouteSettingsProperty defaultRouteSettings) Sets the value ofCfnHttpApiMixinProps.getDefaultRouteSettings()defaultRouteSettings(IResolvable defaultRouteSettings) Sets the value ofCfnHttpApiMixinProps.getDefaultRouteSettings()definitionBody(Object definitionBody) Sets the value ofCfnHttpApiMixinProps.getDefinitionBody()definitionUri(String definitionUri) Sets the value ofCfnHttpApiMixinProps.getDefinitionUri()definitionUri(CfnHttpApiPropsMixin.S3LocationProperty definitionUri) Sets the value ofCfnHttpApiMixinProps.getDefinitionUri()definitionUri(IResolvable definitionUri) Sets the value ofCfnHttpApiMixinProps.getDefinitionUri()description(String description) Sets the value ofCfnHttpApiMixinProps.getDescription()disableExecuteApiEndpoint(Boolean disableExecuteApiEndpoint) Sets the value ofCfnHttpApiMixinProps.getDisableExecuteApiEndpoint()disableExecuteApiEndpoint(IResolvable disableExecuteApiEndpoint) Sets the value ofCfnHttpApiMixinProps.getDisableExecuteApiEndpoint()Sets the value ofCfnHttpApiMixinProps.getDomain()domain(IResolvable domain) Sets the value ofCfnHttpApiMixinProps.getDomain()failOnWarnings(Boolean failOnWarnings) Sets the value ofCfnHttpApiMixinProps.getFailOnWarnings()failOnWarnings(IResolvable failOnWarnings) Sets the value ofCfnHttpApiMixinProps.getFailOnWarnings()routeSettings(CfnHttpApiPropsMixin.RouteSettingsProperty routeSettings) Sets the value ofCfnHttpApiMixinProps.getRouteSettings()routeSettings(IResolvable routeSettings) Sets the value ofCfnHttpApiMixinProps.getRouteSettings()Sets the value ofCfnHttpApiMixinProps.getStageName()stageVariables(Map<String, String> stageVariables) Sets the value ofCfnHttpApiMixinProps.getStageVariables()stageVariables(IResolvable stageVariables) Sets the value ofCfnHttpApiMixinProps.getStageVariables()Sets the value ofCfnHttpApiMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessLogSetting
@Stability(Stable) public CfnHttpApiMixinProps.Builder accessLogSetting(IResolvable accessLogSetting) Sets the value ofCfnHttpApiMixinProps.getAccessLogSetting()- Parameters:
accessLogSetting- the value to be set.- Returns:
this
-
accessLogSetting
@Stability(Stable) public CfnHttpApiMixinProps.Builder accessLogSetting(CfnHttpApiPropsMixin.AccessLogSettingProperty accessLogSetting) Sets the value ofCfnHttpApiMixinProps.getAccessLogSetting()- Parameters:
accessLogSetting- the value to be set.- Returns:
this
-
auth
Sets the value ofCfnHttpApiMixinProps.getAuth()- Parameters:
auth- the value to be set.- Returns:
this
-
auth
@Stability(Stable) public CfnHttpApiMixinProps.Builder auth(CfnHttpApiPropsMixin.HttpApiAuthProperty auth) Sets the value ofCfnHttpApiMixinProps.getAuth()- Parameters:
auth- the value to be set.- Returns:
this
-
corsConfiguration
Sets the value ofCfnHttpApiMixinProps.getCorsConfiguration()- Parameters:
corsConfiguration- the value to be set.- Returns:
this
-
corsConfiguration
@Stability(Stable) public CfnHttpApiMixinProps.Builder corsConfiguration(IResolvable corsConfiguration) Sets the value ofCfnHttpApiMixinProps.getCorsConfiguration()- Parameters:
corsConfiguration- the value to be set.- Returns:
this
-
corsConfiguration
@Stability(Stable) public CfnHttpApiMixinProps.Builder corsConfiguration(CfnHttpApiPropsMixin.CorsConfigurationObjectProperty corsConfiguration) Sets the value ofCfnHttpApiMixinProps.getCorsConfiguration()- Parameters:
corsConfiguration- the value to be set.- Returns:
this
-
defaultRouteSettings
@Stability(Stable) public CfnHttpApiMixinProps.Builder defaultRouteSettings(IResolvable defaultRouteSettings) Sets the value ofCfnHttpApiMixinProps.getDefaultRouteSettings()- Parameters:
defaultRouteSettings- the value to be set.- Returns:
this
-
defaultRouteSettings
@Stability(Stable) public CfnHttpApiMixinProps.Builder defaultRouteSettings(CfnHttpApiPropsMixin.RouteSettingsProperty defaultRouteSettings) Sets the value ofCfnHttpApiMixinProps.getDefaultRouteSettings()- Parameters:
defaultRouteSettings- the value to be set.- Returns:
this
-
definitionBody
Sets the value ofCfnHttpApiMixinProps.getDefinitionBody()- Parameters:
definitionBody- the value to be set.- Returns:
this
-
definitionUri
Sets the value ofCfnHttpApiMixinProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
definitionUri
Sets the value ofCfnHttpApiMixinProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
definitionUri
@Stability(Stable) public CfnHttpApiMixinProps.Builder definitionUri(CfnHttpApiPropsMixin.S3LocationProperty definitionUri) Sets the value ofCfnHttpApiMixinProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
description
Sets the value ofCfnHttpApiMixinProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
disableExecuteApiEndpoint
@Stability(Stable) public CfnHttpApiMixinProps.Builder disableExecuteApiEndpoint(Boolean disableExecuteApiEndpoint) Sets the value ofCfnHttpApiMixinProps.getDisableExecuteApiEndpoint()- Parameters:
disableExecuteApiEndpoint- the value to be set.- Returns:
this
-
disableExecuteApiEndpoint
@Stability(Stable) public CfnHttpApiMixinProps.Builder disableExecuteApiEndpoint(IResolvable disableExecuteApiEndpoint) Sets the value ofCfnHttpApiMixinProps.getDisableExecuteApiEndpoint()- Parameters:
disableExecuteApiEndpoint- the value to be set.- Returns:
this
-
domain
Sets the value ofCfnHttpApiMixinProps.getDomain()- Parameters:
domain- the value to be set.- Returns:
this
-
domain
@Stability(Stable) public CfnHttpApiMixinProps.Builder domain(CfnHttpApiPropsMixin.HttpApiDomainConfigurationProperty domain) Sets the value ofCfnHttpApiMixinProps.getDomain()- Parameters:
domain- the value to be set.- Returns:
this
-
failOnWarnings
Sets the value ofCfnHttpApiMixinProps.getFailOnWarnings()- Parameters:
failOnWarnings- the value to be set.- Returns:
this
-
failOnWarnings
Sets the value ofCfnHttpApiMixinProps.getFailOnWarnings()- Parameters:
failOnWarnings- the value to be set.- Returns:
this
-
routeSettings
Sets the value ofCfnHttpApiMixinProps.getRouteSettings()- Parameters:
routeSettings- the value to be set.- Returns:
this
-
routeSettings
@Stability(Stable) public CfnHttpApiMixinProps.Builder routeSettings(CfnHttpApiPropsMixin.RouteSettingsProperty routeSettings) Sets the value ofCfnHttpApiMixinProps.getRouteSettings()- Parameters:
routeSettings- the value to be set.- Returns:
this
-
stageName
Sets the value ofCfnHttpApiMixinProps.getStageName()- Parameters:
stageName- the value to be set.- Returns:
this
-
stageVariables
@Stability(Stable) public CfnHttpApiMixinProps.Builder stageVariables(Map<String, String> stageVariables) Sets the value ofCfnHttpApiMixinProps.getStageVariables()- Parameters:
stageVariables- the value to be set.- Returns:
this
-
stageVariables
Sets the value ofCfnHttpApiMixinProps.getStageVariables()- Parameters:
stageVariables- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnHttpApiMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHttpApiMixinProps>- Returns:
- a new instance of
CfnHttpApiMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-