Class CfnIpPoolRouteTableAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIpPoolRouteTableAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIpPoolRouteTableAssociationProps>
- Enclosing interface:
CfnIpPoolRouteTableAssociationProps
@Stability(Stable)
public static final class CfnIpPoolRouteTableAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIpPoolRouteTableAssociationProps>
A builder for
CfnIpPoolRouteTableAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.publicIpv4Pool(String publicIpv4Pool) Sets the value ofCfnIpPoolRouteTableAssociationProps.getPublicIpv4Pool()routeTableId(String routeTableId) Sets the value ofCfnIpPoolRouteTableAssociationProps.getRouteTableId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
publicIpv4Pool
@Stability(Stable) public CfnIpPoolRouteTableAssociationProps.Builder publicIpv4Pool(String publicIpv4Pool) Sets the value ofCfnIpPoolRouteTableAssociationProps.getPublicIpv4Pool()- Parameters:
publicIpv4Pool- The ID of a public IPv4 address pool. This parameter is required.- Returns:
this
-
routeTableId
@Stability(Stable) public CfnIpPoolRouteTableAssociationProps.Builder routeTableId(String routeTableId) Sets the value ofCfnIpPoolRouteTableAssociationProps.getRouteTableId()- Parameters:
routeTableId- The ID of a route table. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIpPoolRouteTableAssociationProps>- Returns:
- a new instance of
CfnIpPoolRouteTableAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-