Interface TransitGatewayPolicyTableEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayPolicyTableEntry.Builder,TransitGatewayPolicyTableEntry>,SdkBuilder<TransitGatewayPolicyTableEntry.Builder,TransitGatewayPolicyTableEntry>,SdkPojo
- Enclosing class:
- TransitGatewayPolicyTableEntry
public static interface TransitGatewayPolicyTableEntry.Builder extends SdkPojo, CopyableBuilder<TransitGatewayPolicyTableEntry.Builder,TransitGatewayPolicyTableEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TransitGatewayPolicyTableEntry.BuilderpolicyRule(Consumer<TransitGatewayPolicyRule.Builder> policyRule)The policy rule associated with the transit gateway policy table.TransitGatewayPolicyTableEntry.BuilderpolicyRule(TransitGatewayPolicyRule policyRule)The policy rule associated with the transit gateway policy table.TransitGatewayPolicyTableEntry.BuilderpolicyRuleNumber(String policyRuleNumber)The rule number for the transit gateway policy table entry.TransitGatewayPolicyTableEntry.BuildertargetRouteTableId(String targetRouteTableId)The ID of the target route table.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
policyRuleNumber
TransitGatewayPolicyTableEntry.Builder policyRuleNumber(String policyRuleNumber)
The rule number for the transit gateway policy table entry.
- Parameters:
policyRuleNumber- The rule number for the transit gateway policy table entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyRule
TransitGatewayPolicyTableEntry.Builder policyRule(TransitGatewayPolicyRule policyRule)
The policy rule associated with the transit gateway policy table.
- Parameters:
policyRule- The policy rule associated with the transit gateway policy table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyRule
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.Builderavoiding the need to create one manually viaTransitGatewayPolicyRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyRule(TransitGatewayPolicyRule).- Parameters:
policyRule- a consumer that will call methods onTransitGatewayPolicyRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
policyRule(TransitGatewayPolicyRule)
-
targetRouteTableId
TransitGatewayPolicyTableEntry.Builder targetRouteTableId(String targetRouteTableId)
The ID of the target route table.
- Parameters:
targetRouteTableId- The ID of the target route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-