Package com.pulumi.aws.vpclattice.inputs
Class ListenerDefaultActionForwardTargetGroupArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.vpclattice.inputs.ListenerDefaultActionForwardTargetGroupArgs.Builder
-
- Enclosing class:
- ListenerDefaultActionForwardTargetGroupArgs
public static final class ListenerDefaultActionForwardTargetGroupArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ListenerDefaultActionForwardTargetGroupArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerDefaultActionForwardTargetGroupArgsbuild()ListenerDefaultActionForwardTargetGroupArgs.BuildertargetGroupIdentifier(com.pulumi.core.Output<java.lang.String> targetGroupIdentifier)ListenerDefaultActionForwardTargetGroupArgs.BuildertargetGroupIdentifier(java.lang.String targetGroupIdentifier)ListenerDefaultActionForwardTargetGroupArgs.Builderweight(com.pulumi.core.Output<java.lang.Integer> weight)ListenerDefaultActionForwardTargetGroupArgs.Builderweight(java.lang.Integer weight)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerDefaultActionForwardTargetGroupArgs defaults)
-
-
Method Detail
-
targetGroupIdentifier
public ListenerDefaultActionForwardTargetGroupArgs.Builder targetGroupIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> targetGroupIdentifier)
- Parameters:
targetGroupIdentifier- ID or ARN of the target group.- Returns:
- builder
-
targetGroupIdentifier
public ListenerDefaultActionForwardTargetGroupArgs.Builder targetGroupIdentifier(java.lang.String targetGroupIdentifier)
- Parameters:
targetGroupIdentifier- ID or ARN of the target group.- Returns:
- builder
-
weight
public ListenerDefaultActionForwardTargetGroupArgs.Builder weight(@Nullable com.pulumi.core.Output<java.lang.Integer> weight)
- Parameters:
weight- Weight that controls how requests are distributed to the target group. Only required if you specify multiple target groups for a forward action. For example, if you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. See [Listener rules](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules) in the AWS documentation for additional examples. Default: `100`.- Returns:
- builder
-
weight
public ListenerDefaultActionForwardTargetGroupArgs.Builder weight(java.lang.Integer weight)
- Parameters:
weight- Weight that controls how requests are distributed to the target group. Only required if you specify multiple target groups for a forward action. For example, if you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. See [Listener rules](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules) in the AWS documentation for additional examples. Default: `100`.- Returns:
- builder
-
build
public ListenerDefaultActionForwardTargetGroupArgs build()
-
-