Class CfnApiGatewayManagedOverrides.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiGatewayManagedOverrides>
- Enclosing class:
- CfnApiGatewayManagedOverrides
@Stability(Stable)
public static final class CfnApiGatewayManagedOverrides.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiGatewayManagedOverrides>
A fluent builder for
CfnApiGatewayManagedOverrides.-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the API for which to override the configuration of API Gateway-managed resources.build()integration(IResolvable integration) Overrides the integration configuration for an API Gateway-managed integration.Overrides the integration configuration for an API Gateway-managed integration.route(IResolvable route) Overrides the route configuration for an API Gateway-managed route.Overrides the route configuration for an API Gateway-managed route.stage(IResolvable stage) Overrides the stage configuration for an API Gateway-managed stage.Overrides the stage configuration for an API Gateway-managed stage.
-
Method Details
-
create
@Stability(Stable) public static CfnApiGatewayManagedOverrides.Builder create(Construct scope, String id) - Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnApiGatewayManagedOverrides.Builder.
-
apiId
The ID of the API for which to override the configuration of API Gateway-managed resources.- 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 CfnApiGatewayManagedOverrides.Builder integration(IResolvable integration) Overrides the integration configuration for an API Gateway-managed integration.- Parameters:
integration- Overrides the integration configuration for an API Gateway-managed integration. This parameter is required.- Returns:
this
-
integration
@Stability(Stable) public CfnApiGatewayManagedOverrides.Builder integration(CfnApiGatewayManagedOverrides.IntegrationOverridesProperty integration) Overrides the integration configuration for an API Gateway-managed integration.- Parameters:
integration- Overrides the integration configuration for an API Gateway-managed integration. This parameter is required.- Returns:
this
-
route
Overrides the route configuration for an API Gateway-managed route.- Parameters:
route- Overrides the route configuration for an API Gateway-managed route. This parameter is required.- Returns:
this
-
route
@Stability(Stable) public CfnApiGatewayManagedOverrides.Builder route(CfnApiGatewayManagedOverrides.RouteOverridesProperty route) Overrides the route configuration for an API Gateway-managed route.- Parameters:
route- Overrides the route configuration for an API Gateway-managed route. This parameter is required.- Returns:
this
-
stage
Overrides the stage configuration for an API Gateway-managed stage.- Parameters:
stage- Overrides the stage configuration for an API Gateway-managed stage. This parameter is required.- Returns:
this
-
stage
@Stability(Stable) public CfnApiGatewayManagedOverrides.Builder stage(CfnApiGatewayManagedOverrides.StageOverridesProperty stage) Overrides the stage configuration for an API Gateway-managed stage.- Parameters:
stage- Overrides the stage configuration for an API Gateway-managed stage. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiGatewayManagedOverrides>- Returns:
- a newly built instance of
CfnApiGatewayManagedOverrides.
-