Class CfnApiGatewayManagedOverridesProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverridesProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiGatewayManagedOverridesProps>
- Enclosing interface:
- CfnApiGatewayManagedOverridesProps
@Stability(Stable)
public static final class CfnApiGatewayManagedOverridesProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiGatewayManagedOverridesProps>
A builder for
CfnApiGatewayManagedOverridesProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApiGatewayManagedOverridesProps.getApiId()build()Builds the configured instance.integration(IResolvable integration) Sets the value ofCfnApiGatewayManagedOverridesProps.getIntegration()Sets the value ofCfnApiGatewayManagedOverridesProps.getIntegration()route(IResolvable route) Sets the value ofCfnApiGatewayManagedOverridesProps.getRoute()Sets the value ofCfnApiGatewayManagedOverridesProps.getRoute()stage(IResolvable stage) Sets the value ofCfnApiGatewayManagedOverridesProps.getStage()Sets the value ofCfnApiGatewayManagedOverridesProps.getStage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
Sets the value ofCfnApiGatewayManagedOverridesProps.getApiId()- Parameters:
apiId- The ID of the API for which to override the configuration of API Gateway-managed resources. This parameter is required.- Returns:
this
-
integration
@Stability(Stable) public CfnApiGatewayManagedOverridesProps.Builder integration(IResolvable integration) Sets the value ofCfnApiGatewayManagedOverridesProps.getIntegration()- Parameters:
integration- Overrides the integration configuration for an API Gateway-managed integration.- Returns:
this
-
integration
@Stability(Stable) public CfnApiGatewayManagedOverridesProps.Builder integration(CfnApiGatewayManagedOverrides.IntegrationOverridesProperty integration) Sets the value ofCfnApiGatewayManagedOverridesProps.getIntegration()- Parameters:
integration- Overrides the integration configuration for an API Gateway-managed integration.- Returns:
this
-
route
Sets the value ofCfnApiGatewayManagedOverridesProps.getRoute()- Parameters:
route- Overrides the route configuration for an API Gateway-managed route.- Returns:
this
-
route
@Stability(Stable) public CfnApiGatewayManagedOverridesProps.Builder route(CfnApiGatewayManagedOverrides.RouteOverridesProperty route) Sets the value ofCfnApiGatewayManagedOverridesProps.getRoute()- Parameters:
route- Overrides the route configuration for an API Gateway-managed route.- Returns:
this
-
stage
Sets the value ofCfnApiGatewayManagedOverridesProps.getStage()- Parameters:
stage- Overrides the stage configuration for an API Gateway-managed stage.- Returns:
this
-
stage
@Stability(Stable) public CfnApiGatewayManagedOverridesProps.Builder stage(CfnApiGatewayManagedOverrides.StageOverridesProperty stage) Sets the value ofCfnApiGatewayManagedOverridesProps.getStage()- Parameters:
stage- Overrides the stage configuration for an API Gateway-managed stage.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiGatewayManagedOverridesProps>- Returns:
- a new instance of
CfnApiGatewayManagedOverridesProps - Throws:
NullPointerException- if any required attribute was not provided
-