Class CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRulePropsMixin.TrafficSplitEntryProperty>
- Enclosing interface:
CfnGatewayRulePropsMixin.TrafficSplitEntryProperty
@Stability(Stable)
public static final class CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRulePropsMixin.TrafficSplitEntryProperty>
A builder for
CfnGatewayRulePropsMixin.TrafficSplitEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationBundle(CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty configurationBundle) configurationBundle(IResolvable configurationBundle) description(String description) Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getDescription()Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getMetadata()metadata(IResolvable metadata) Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getMetadata()Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getName()Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getWeight()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationBundle
@Stability(Stable) public CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder configurationBundle(IResolvable configurationBundle) - Parameters:
configurationBundle- the value to be set.- Returns:
this
-
configurationBundle
@Stability(Stable) public CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder configurationBundle(CfnGatewayRulePropsMixin.ConfigurationBundleReferenceProperty configurationBundle) - Parameters:
configurationBundle- the value to be set.- Returns:
this
-
description
@Stability(Stable) public CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder description(String description) Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
metadata
@Stability(Stable) public CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder metadata(IResolvable metadata) Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getMetadata()- Parameters:
metadata- the value to be set.- Returns:
this
-
metadata
@Stability(Stable) public CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder metadata(Map<String, String> metadata) Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getMetadata()- Parameters:
metadata- the value to be set.- Returns:
this
-
name
@Stability(Stable) public CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder name(String name) Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getName()- Parameters:
name- the value to be set.- Returns:
this
-
weight
@Stability(Stable) public CfnGatewayRulePropsMixin.TrafficSplitEntryProperty.Builder weight(Number weight) Sets the value ofCfnGatewayRulePropsMixin.TrafficSplitEntryProperty.getWeight()- Parameters:
weight- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRulePropsMixin.TrafficSplitEntryProperty>- Returns:
- a new instance of
CfnGatewayRulePropsMixin.TrafficSplitEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-