Interface SegmentOverride.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SegmentOverride.Builder,SegmentOverride>,SdkBuilder<SegmentOverride.Builder,SegmentOverride>,SdkPojo
- Enclosing class:
- SegmentOverride
public static interface SegmentOverride.Builder extends SdkPojo, CopyableBuilder<SegmentOverride.Builder,SegmentOverride>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SegmentOverride.BuilderevaluationOrder(Long evaluationOrder)A number indicating the order to use to evaluate segment overrides, if there are more than one.SegmentOverride.Buildersegment(String segment)The ARN of the segment to use.SegmentOverride.Builderweights(Map<String,Long> weights)The traffic allocation percentages among the feature variations to assign to this segment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
evaluationOrder
SegmentOverride.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segment
SegmentOverride.Builder segment(String segment)
The ARN of the segment to use.
- Parameters:
segment- The ARN of the segment to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weights
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-