@Stability(value=Experimental) public static final class WeightedTargetGroup.Builder extends Object implements software.amazon.jsii.Builder<WeightedTargetGroup>
WeightedTargetGroup| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
WeightedTargetGroup |
build()
Builds the configured instance.
|
WeightedTargetGroup.Builder |
targetGroup(IApplicationTargetGroup targetGroup)
Sets the value of
WeightedTargetGroup.getTargetGroup() |
WeightedTargetGroup.Builder |
weight(Number weight)
Sets the value of
WeightedTargetGroup.getWeight() |
@Stability(value=Experimental) public WeightedTargetGroup.Builder targetGroup(IApplicationTargetGroup targetGroup)
WeightedTargetGroup.getTargetGroup()targetGroup - The target group. This parameter is required.this@Stability(value=Experimental) public WeightedTargetGroup.Builder weight(Number weight)
WeightedTargetGroup.getWeight()weight - The target group's weight.
Range is [0..1000).this@Stability(value=Experimental) public WeightedTargetGroup build()
build in interface software.amazon.jsii.Builder<WeightedTargetGroup>WeightedTargetGroupNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.