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