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