Class CfnLocalGatewayRouteTableVPCAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLocalGatewayRouteTableVPCAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocalGatewayRouteTableVPCAssociationProps>
- Enclosing interface:
CfnLocalGatewayRouteTableVPCAssociationProps
@Stability(Stable)
public static final class CfnLocalGatewayRouteTableVPCAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocalGatewayRouteTableVPCAssociationProps>
A builder for
CfnLocalGatewayRouteTableVPCAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.localGatewayRouteTableId
(String localGatewayRouteTableId) Sets the value ofCfnLocalGatewayRouteTableVPCAssociationProps.getTags()
Sets the value ofCfnLocalGatewayRouteTableVPCAssociationProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
localGatewayRouteTableId
@Stability(Stable) public CfnLocalGatewayRouteTableVPCAssociationProps.Builder localGatewayRouteTableId(String localGatewayRouteTableId) - Parameters:
localGatewayRouteTableId
- The ID of the local gateway route table. This parameter is required.- Returns:
this
-
vpcId
Sets the value ofCfnLocalGatewayRouteTableVPCAssociationProps.getVpcId()
- Parameters:
vpcId
- The ID of the VPC. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnLocalGatewayRouteTableVPCAssociationProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnLocalGatewayRouteTableVPCAssociationProps.getTags()
- Parameters:
tags
- The tags assigned to the association.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLocalGatewayRouteTableVPCAssociationProps>
- Returns:
- a new instance of
CfnLocalGatewayRouteTableVPCAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-