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