public static interface SegmentOverride.Builder extends SdkPojo, CopyableBuilder<SegmentOverride.Builder,SegmentOverride>
| Modifier and Type | Method and Description |
|---|---|
SegmentOverride.Builder |
evaluationOrder(Long evaluationOrder)
A number indicating the order to use to evaluate segment overrides, if there are more than one.
|
SegmentOverride.Builder |
segment(String segment)
The ARN of the segment to use.
|
SegmentOverride.Builder |
weights(Map<String,Long> weights)
The traffic allocation percentages among the feature variations to assign to this segment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSegmentOverride.Builder evaluationOrder(Long evaluationOrder)
A number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first.
evaluationOrder - A number indicating the order to use to evaluate segment overrides, if there are more than one.
Segment overrides with lower numbers are evaluated first.SegmentOverride.Builder segment(String segment)
The ARN of the segment to use.
segment - The ARN of the segment to use.SegmentOverride.Builder weights(Map<String,Long> weights)
The traffic allocation percentages among the feature variations to assign to this segment. 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.
weights - The traffic allocation percentages among the feature variations to assign to this segment. 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.Copyright © 2022. All rights reserved.