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