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