@Stability(value=Stable) public static final class CfnLaunch.SegmentOverrideProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunch.SegmentOverrideProperty>
CfnLaunch.SegmentOverrideProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLaunch.SegmentOverrideProperty |
build()
Builds the configured instance.
|
CfnLaunch.SegmentOverrideProperty.Builder |
evaluationOrder(Number evaluationOrder)
Sets the value of
CfnLaunch.SegmentOverrideProperty.getEvaluationOrder() |
CfnLaunch.SegmentOverrideProperty.Builder |
segment(String segment)
Sets the value of
CfnLaunch.SegmentOverrideProperty.getSegment() |
CfnLaunch.SegmentOverrideProperty.Builder |
weights(IResolvable weights)
Sets the value of
CfnLaunch.SegmentOverrideProperty.getWeights() |
CfnLaunch.SegmentOverrideProperty.Builder |
weights(List<? extends Object> weights)
Sets the value of
CfnLaunch.SegmentOverrideProperty.getWeights() |
@Stability(value=Stable) public CfnLaunch.SegmentOverrideProperty.Builder evaluationOrder(Number evaluationOrder)
CfnLaunch.SegmentOverrideProperty.getEvaluationOrder()evaluationOrder - A number indicating the order to use to evaluate segment overrides, if there are more than one. This parameter is required.
Segment overrides with lower numbers are evaluated first.this@Stability(value=Stable) public CfnLaunch.SegmentOverrideProperty.Builder segment(String segment)
CfnLaunch.SegmentOverrideProperty.getSegment()segment - The ARN of the segment to use for this override. This parameter is required.this@Stability(value=Stable) public CfnLaunch.SegmentOverrideProperty.Builder weights(IResolvable weights)
CfnLaunch.SegmentOverrideProperty.getWeights()weights - The traffic allocation percentages among the feature variations to assign to this segment. This parameter is required.
This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.this@Stability(value=Stable) public CfnLaunch.SegmentOverrideProperty.Builder weights(List<? extends Object> weights)
CfnLaunch.SegmentOverrideProperty.getWeights()weights - The traffic allocation percentages among the feature variations to assign to this segment. This parameter is required.
This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.this@Stability(value=Stable) public CfnLaunch.SegmentOverrideProperty build()
build in interface software.amazon.jsii.Builder<CfnLaunch.SegmentOverrideProperty>CfnLaunch.SegmentOverridePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.