Package com.pulumi.aws.vpclattice.inputs
Class ListenerRuleActionForwardArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.vpclattice.inputs.ListenerRuleActionForwardArgs.Builder
-
- Enclosing class:
- ListenerRuleActionForwardArgs
public static final class ListenerRuleActionForwardArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ListenerRuleActionForwardArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerRuleActionForwardArgs
build()
ListenerRuleActionForwardArgs.Builder
targetGroups(ListenerRuleActionForwardTargetGroupArgs... targetGroups)
ListenerRuleActionForwardArgs.Builder
targetGroups(com.pulumi.core.Output<java.util.List<ListenerRuleActionForwardTargetGroupArgs>> targetGroups)
ListenerRuleActionForwardArgs.Builder
targetGroups(java.util.List<ListenerRuleActionForwardTargetGroupArgs> targetGroups)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerRuleActionForwardArgs defaults)
-
-
Method Detail
-
targetGroups
public ListenerRuleActionForwardArgs.Builder targetGroups(com.pulumi.core.Output<java.util.List<ListenerRuleActionForwardTargetGroupArgs>> targetGroups)
- Parameters:
targetGroups
- The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic. The default value is 1 with maximum number of 2. If only one target group is provided, there is no need to set the weight; 100% of traffic will go to that target group.- Returns:
- builder
-
targetGroups
public ListenerRuleActionForwardArgs.Builder targetGroups(java.util.List<ListenerRuleActionForwardTargetGroupArgs> targetGroups)
- Parameters:
targetGroups
- The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic. The default value is 1 with maximum number of 2. If only one target group is provided, there is no need to set the weight; 100% of traffic will go to that target group.- Returns:
- builder
-
targetGroups
public ListenerRuleActionForwardArgs.Builder targetGroups(ListenerRuleActionForwardTargetGroupArgs... targetGroups)
- Parameters:
targetGroups
- The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic. The default value is 1 with maximum number of 2. If only one target group is provided, there is no need to set the weight; 100% of traffic will go to that target group.- Returns:
- builder
-
build
public ListenerRuleActionForwardArgs build()
-
-