Class CfnRoutingRulePropsMixin.ActionInvokeApiProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnRoutingRulePropsMixin.ActionInvokeApiProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingRulePropsMixin.ActionInvokeApiProperty>
- Enclosing interface:
CfnRoutingRulePropsMixin.ActionInvokeApiProperty
@Stability(Stable)
public static final class CfnRoutingRulePropsMixin.ActionInvokeApiProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingRulePropsMixin.ActionInvokeApiProperty>
A builder for
CfnRoutingRulePropsMixin.ActionInvokeApiProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnRoutingRulePropsMixin.ActionInvokeApiProperty.getApiId()build()Builds the configured instance.Sets the value ofCfnRoutingRulePropsMixin.ActionInvokeApiProperty.getStage()stripBasePath(Boolean stripBasePath) Sets the value ofCfnRoutingRulePropsMixin.ActionInvokeApiProperty.getStripBasePath()stripBasePath(IResolvable stripBasePath) Sets the value ofCfnRoutingRulePropsMixin.ActionInvokeApiProperty.getStripBasePath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
@Stability(Stable) public CfnRoutingRulePropsMixin.ActionInvokeApiProperty.Builder apiId(String apiId) Sets the value ofCfnRoutingRulePropsMixin.ActionInvokeApiProperty.getApiId()- Parameters:
apiId- The API identifier of the target API.- Returns:
this
-
stage
@Stability(Stable) public CfnRoutingRulePropsMixin.ActionInvokeApiProperty.Builder stage(String stage) Sets the value ofCfnRoutingRulePropsMixin.ActionInvokeApiProperty.getStage()- Parameters:
stage- The name of the target stage.- Returns:
this
-
stripBasePath
@Stability(Stable) public CfnRoutingRulePropsMixin.ActionInvokeApiProperty.Builder stripBasePath(Boolean stripBasePath) Sets the value ofCfnRoutingRulePropsMixin.ActionInvokeApiProperty.getStripBasePath()- Parameters:
stripBasePath- The strip base path setting. When true, API Gateway strips the incoming matched base path when forwarding the request to the target API.- Returns:
this
-
stripBasePath
@Stability(Stable) public CfnRoutingRulePropsMixin.ActionInvokeApiProperty.Builder stripBasePath(IResolvable stripBasePath) Sets the value ofCfnRoutingRulePropsMixin.ActionInvokeApiProperty.getStripBasePath()- Parameters:
stripBasePath- The strip base path setting. When true, API Gateway strips the incoming matched base path when forwarding the request to the target API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutingRulePropsMixin.ActionInvokeApiProperty>- Returns:
- a new instance of
CfnRoutingRulePropsMixin.ActionInvokeApiProperty - Throws:
NullPointerException- if any required attribute was not provided
-