Interface SegmentOverride.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SegmentOverride.Builder,
,SegmentOverride> SdkBuilder<SegmentOverride.Builder,
,SegmentOverride> SdkPojo
- Enclosing class:
SegmentOverride
@Mutable
@NotThreadSafe
public static interface SegmentOverride.Builder
extends SdkPojo, CopyableBuilder<SegmentOverride.Builder,SegmentOverride>
-
Method Summary
Modifier and TypeMethodDescriptionevaluationOrder
(Long evaluationOrder) A number indicating the order to use to evaluate segment overrides, if there are more than one.The ARN of the segment to use.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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.
-