Class CfnGatewayRule.ActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayRule.ActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRule.ActionProperty>
- Enclosing interface:
CfnGatewayRule.ActionProperty
@Stability(Stable)
public static final class CfnGatewayRule.ActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRule.ActionProperty>
A builder for
CfnGatewayRule.ActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationBundle(IResolvable configurationBundle) Sets the value ofCfnGatewayRule.ActionProperty.getConfigurationBundle()configurationBundle(CfnGatewayRule.ConfigurationBundleActionProperty configurationBundle) Sets the value ofCfnGatewayRule.ActionProperty.getConfigurationBundle()routeToTarget(IResolvable routeToTarget) Sets the value ofCfnGatewayRule.ActionProperty.getRouteToTarget()routeToTarget(CfnGatewayRule.RouteToTargetActionProperty routeToTarget) Sets the value ofCfnGatewayRule.ActionProperty.getRouteToTarget()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationBundle
@Stability(Stable) public CfnGatewayRule.ActionProperty.Builder configurationBundle(IResolvable configurationBundle) Sets the value ofCfnGatewayRule.ActionProperty.getConfigurationBundle()- Parameters:
configurationBundle- the value to be set.- Returns:
this
-
configurationBundle
@Stability(Stable) public CfnGatewayRule.ActionProperty.Builder configurationBundle(CfnGatewayRule.ConfigurationBundleActionProperty configurationBundle) Sets the value ofCfnGatewayRule.ActionProperty.getConfigurationBundle()- Parameters:
configurationBundle- the value to be set.- Returns:
this
-
routeToTarget
@Stability(Stable) public CfnGatewayRule.ActionProperty.Builder routeToTarget(IResolvable routeToTarget) Sets the value ofCfnGatewayRule.ActionProperty.getRouteToTarget()- Parameters:
routeToTarget- the value to be set.- Returns:
this
-
routeToTarget
@Stability(Stable) public CfnGatewayRule.ActionProperty.Builder routeToTarget(CfnGatewayRule.RouteToTargetActionProperty routeToTarget) Sets the value ofCfnGatewayRule.ActionProperty.getRouteToTarget()- Parameters:
routeToTarget- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRule.ActionProperty>- Returns:
- a new instance of
CfnGatewayRule.ActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-