Class CfnRouteTableMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnRouteTableMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteTableMixinProps>
- Enclosing interface:
CfnRouteTableMixinProps
@Stability(Stable)
public static final class CfnRouteTableMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteTableMixinProps>
A builder for
CfnRouteTableMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRouteTableMixinProps.getTags()Sets the value ofCfnRouteTableMixinProps.getVpcId()Sets the value ofCfnRouteTableMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tags
Sets the value ofCfnRouteTableMixinProps.getTags()- Parameters:
tags- Any tags assigned to the route table.- Returns:
this
-
vpcId
Sets the value ofCfnRouteTableMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC.- Returns:
this
-
vpcId
Sets the value ofCfnRouteTableMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouteTableMixinProps>- Returns:
- a new instance of
CfnRouteTableMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-