Class CfnTransitGatewayPolicyTableEntryMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayPolicyTableEntryMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayPolicyTableEntryMixinProps>
- Enclosing interface:
CfnTransitGatewayPolicyTableEntryMixinProps
@Stability(Stable)
public static final class CfnTransitGatewayPolicyTableEntryMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayPolicyTableEntryMixinProps>
A builder for
CfnTransitGatewayPolicyTableEntryMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTransitGatewayPolicyTableEntryMixinProps.getPolicyRule()policyRule(IResolvable policyRule) Sets the value ofCfnTransitGatewayPolicyTableEntryMixinProps.getPolicyRule()policyRuleNumber(String policyRuleNumber) Sets the value ofCfnTransitGatewayPolicyTableEntryMixinProps.getPolicyRuleNumber()targetRouteTableId(String targetRouteTableId) Sets the value ofCfnTransitGatewayPolicyTableEntryMixinProps.getTargetRouteTableId()transitGatewayPolicyTableId(String transitGatewayPolicyTableId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyRule
@Stability(Stable) public CfnTransitGatewayPolicyTableEntryMixinProps.Builder policyRule(IResolvable policyRule) Sets the value ofCfnTransitGatewayPolicyTableEntryMixinProps.getPolicyRule()- Parameters:
policyRule- the value to be set.- Returns:
this
-
policyRule
@Stability(Stable) public CfnTransitGatewayPolicyTableEntryMixinProps.Builder policyRule(CfnTransitGatewayPolicyTableEntryPropsMixin.TransitGatewayPolicyRuleProperty policyRule) Sets the value ofCfnTransitGatewayPolicyTableEntryMixinProps.getPolicyRule()- Parameters:
policyRule- the value to be set.- Returns:
this
-
policyRuleNumber
@Stability(Stable) public CfnTransitGatewayPolicyTableEntryMixinProps.Builder policyRuleNumber(String policyRuleNumber) Sets the value ofCfnTransitGatewayPolicyTableEntryMixinProps.getPolicyRuleNumber()- Parameters:
policyRuleNumber- The rule number for the policy table entry.- Returns:
this
-
targetRouteTableId
@Stability(Stable) public CfnTransitGatewayPolicyTableEntryMixinProps.Builder targetRouteTableId(String targetRouteTableId) Sets the value ofCfnTransitGatewayPolicyTableEntryMixinProps.getTargetRouteTableId()- Parameters:
targetRouteTableId- The ID of the target route table.- Returns:
this
-
transitGatewayPolicyTableId
@Stability(Stable) public CfnTransitGatewayPolicyTableEntryMixinProps.Builder transitGatewayPolicyTableId(String transitGatewayPolicyTableId) - Parameters:
transitGatewayPolicyTableId- The ID of the transit gateway policy table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayPolicyTableEntryMixinProps>- Returns:
- a new instance of
CfnTransitGatewayPolicyTableEntryMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-