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