Class CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiGatewayManagedOverrides.StageOverridesProperty>
- Enclosing interface:
CfnApiGatewayManagedOverrides.StageOverridesProperty
@Stability(Stable)
public static final class CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiGatewayManagedOverrides.StageOverridesProperty>
A builder for
CfnApiGatewayManagedOverrides.StageOverridesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessLogSettings(IResolvable accessLogSettings) accessLogSettings(CfnApiGatewayManagedOverrides.AccessLogSettingsProperty accessLogSettings) autoDeploy(Boolean autoDeploy) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getAutoDeploy()autoDeploy(IResolvable autoDeploy) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getAutoDeploy()build()Builds the configured instance.defaultRouteSettings(IResolvable defaultRouteSettings) defaultRouteSettings(CfnApiGatewayManagedOverrides.RouteSettingsProperty defaultRouteSettings) description(String description) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getDescription()routeSettings(Object routeSettings) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getRouteSettings()stageVariables(Object stageVariables) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getStageVariables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessLogSettings
@Stability(Stable) public CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder accessLogSettings(IResolvable accessLogSettings) - Parameters:
accessLogSettings- Settings for logging access in a stage.- Returns:
this
-
accessLogSettings
@Stability(Stable) public CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder accessLogSettings(CfnApiGatewayManagedOverrides.AccessLogSettingsProperty accessLogSettings) - Parameters:
accessLogSettings- Settings for logging access in a stage.- Returns:
this
-
autoDeploy
@Stability(Stable) public CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder autoDeploy(Boolean autoDeploy) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getAutoDeploy()- Parameters:
autoDeploy- Specifies whether updates to an API automatically trigger a new deployment. The default value istrue.- Returns:
this
-
autoDeploy
@Stability(Stable) public CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder autoDeploy(IResolvable autoDeploy) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getAutoDeploy()- Parameters:
autoDeploy- Specifies whether updates to an API automatically trigger a new deployment. The default value istrue.- Returns:
this
-
defaultRouteSettings
@Stability(Stable) public CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder defaultRouteSettings(IResolvable defaultRouteSettings) - Parameters:
defaultRouteSettings- The default route settings for the stage.- Returns:
this
-
defaultRouteSettings
@Stability(Stable) public CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder defaultRouteSettings(CfnApiGatewayManagedOverrides.RouteSettingsProperty defaultRouteSettings) - Parameters:
defaultRouteSettings- The default route settings for the stage.- Returns:
this
-
description
@Stability(Stable) public CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder description(String description) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getDescription()- Parameters:
description- The description for the API stage.- Returns:
this
-
routeSettings
@Stability(Stable) public CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder routeSettings(Object routeSettings) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getRouteSettings()- Parameters:
routeSettings- Route settings for the stage.- Returns:
this
-
stageVariables
@Stability(Stable) public CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder stageVariables(Object stageVariables) Sets the value ofCfnApiGatewayManagedOverrides.StageOverridesProperty.getStageVariables()- Parameters:
stageVariables- A map that defines the stage variables for aStage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiGatewayManagedOverrides.StageOverridesProperty>- Returns:
- a new instance of
CfnApiGatewayManagedOverrides.StageOverridesProperty - Throws:
NullPointerException- if any required attribute was not provided
-