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