public static interface TransitGatewayPolicyTableEntry.Builder extends SdkPojo, CopyableBuilder<TransitGatewayPolicyTableEntry.Builder,TransitGatewayPolicyTableEntry>
Modifier and Type | Method and Description |
---|---|
default TransitGatewayPolicyTableEntry.Builder |
policyRule(Consumer<TransitGatewayPolicyRule.Builder> policyRule)
The policy rule associated with the transit gateway policy table.
|
TransitGatewayPolicyTableEntry.Builder |
policyRule(TransitGatewayPolicyRule policyRule)
The policy rule associated with the transit gateway policy table.
|
TransitGatewayPolicyTableEntry.Builder |
policyRuleNumber(String policyRuleNumber)
The rule number for the transit gateway policy table entry.
|
TransitGatewayPolicyTableEntry.Builder |
targetRouteTableId(String targetRouteTableId)
The ID of the target route table.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
TransitGatewayPolicyTableEntry.Builder policyRuleNumber(String policyRuleNumber)
The rule number for the transit gateway policy table entry.
policyRuleNumber
- The rule number for the transit gateway policy table entry.TransitGatewayPolicyTableEntry.Builder policyRule(TransitGatewayPolicyRule policyRule)
The policy rule associated with the transit gateway policy table.
policyRule
- The policy rule associated with the transit gateway policy table.default TransitGatewayPolicyTableEntry.Builder policyRule(Consumer<TransitGatewayPolicyRule.Builder> policyRule)
The policy rule associated with the transit gateway policy table.
This is a convenience method that creates an instance of theTransitGatewayPolicyRule.Builder
avoiding the need to create one manually via TransitGatewayPolicyRule.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to policyRule(TransitGatewayPolicyRule)
.policyRule
- a consumer that will call methods on TransitGatewayPolicyRule.Builder
policyRule(TransitGatewayPolicyRule)
TransitGatewayPolicyTableEntry.Builder targetRouteTableId(String targetRouteTableId)
The ID of the target route table.
targetRouteTableId
- The ID of the target route table.Copyright © 2022. All rights reserved.