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