public static interface WeightedTargetGroup.Builder extends SdkPojo, CopyableBuilder<WeightedTargetGroup.Builder,WeightedTargetGroup>
| Modifier and Type | Method and Description |
|---|---|
WeightedTargetGroup.Builder |
targetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
|
WeightedTargetGroup.Builder |
weight(Integer weight)
Only required if you specify multiple target groups for a forward action.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWeightedTargetGroup.Builder targetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
targetGroupIdentifier - The ID or Amazon Resource Name (ARN) of the target group.WeightedTargetGroup.Builder weight(Integer weight)
Only required if you specify multiple target groups for a forward action. The "weight" determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. 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. If there's only one target group specified, then the default value is 100.
weight - Only required if you specify multiple target groups for a forward action. The "weight" determines how
requests are distributed to the target group. For example, if you specify two target groups, each with
a weight of 10, each target group receives half the requests. 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. If there's only one target group specified, then the
default value is 100.Copyright © 2023. All rights reserved.