Class CfnTransitGatewayPolicyTableEntry.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnTransitGatewayPolicyTableEntry.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayPolicyTableEntry>
- Enclosing class:
CfnTransitGatewayPolicyTableEntry
@Stability(Stable)
public static final class CfnTransitGatewayPolicyTableEntry.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayPolicyTableEntry>
A fluent builder for
CfnTransitGatewayPolicyTableEntry.-
Method Summary
Modifier and TypeMethodDescriptionbuild()policyRule(IResolvable policyRule) policyRuleNumber(String policyRuleNumber) The rule number for the policy table entry.targetRouteTableId(String targetRouteTableId) The ID of the target route table.transitGatewayPolicyTableId(String transitGatewayPolicyTableId) The ID of the transit gateway policy table.
-
Method Details
-
create
@Stability(Stable) public static CfnTransitGatewayPolicyTableEntry.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTransitGatewayPolicyTableEntry.Builder.
-
policyRule
@Stability(Stable) public CfnTransitGatewayPolicyTableEntry.Builder policyRule(IResolvable policyRule) - Parameters:
policyRule- This parameter is required.- Returns:
this- See Also:
-
policyRule
@Stability(Stable) public CfnTransitGatewayPolicyTableEntry.Builder policyRule(CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty policyRule) - Parameters:
policyRule- This parameter is required.- Returns:
this- See Also:
-
policyRuleNumber
@Stability(Stable) public CfnTransitGatewayPolicyTableEntry.Builder policyRuleNumber(String policyRuleNumber) The rule number for the policy table entry.- Parameters:
policyRuleNumber- The rule number for the policy table entry. This parameter is required.- Returns:
this- See Also:
-
targetRouteTableId
@Stability(Stable) public CfnTransitGatewayPolicyTableEntry.Builder targetRouteTableId(String targetRouteTableId) The ID of the target route table.- Parameters:
targetRouteTableId- The ID of the target route table. This parameter is required.- Returns:
this- See Also:
-
transitGatewayPolicyTableId
@Stability(Stable) public CfnTransitGatewayPolicyTableEntry.Builder transitGatewayPolicyTableId(String transitGatewayPolicyTableId) The ID of the transit gateway policy table.- Parameters:
transitGatewayPolicyTableId- The ID of the transit gateway policy table. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayPolicyTableEntry>- Returns:
- a newly built instance of
CfnTransitGatewayPolicyTableEntry.
-