Interface ScheduledSplit.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduledSplit.Builder,
,ScheduledSplit> SdkBuilder<ScheduledSplit.Builder,
,ScheduledSplit> SdkPojo
- Enclosing class:
ScheduledSplit
-
Method Summary
Modifier and TypeMethodDescriptiongroupWeights
(Map<String, Long> groupWeights) The traffic allocation percentages among the feature variations during one step of a launch.segmentOverrides
(Collection<SegmentOverride> segmentOverrides) Use this parameter to specify different traffic splits for one or more audience segments.segmentOverrides
(Consumer<SegmentOverride.Builder>... segmentOverrides) Use this parameter to specify different traffic splits for one or more audience segments.segmentOverrides
(SegmentOverride... segmentOverrides) Use this parameter to specify different traffic splits for one or more audience segments.The date and time that this step of the launch starts.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
-
groupWeights
The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step.
The values is expressed in thousandths of a percent, so assigning a weight of 50000 assigns 50% of traffic to that variation.
If the sum of the weights for all the variations in a segment override does not add up to 100,000, then the remaining traffic that matches this segment is not assigned by this segment override, and instead moves on to the next segment override or the default traffic split.
- Parameters:
groupWeights
- The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step.The values is expressed in thousandths of a percent, so assigning a weight of 50000 assigns 50% of traffic to that variation.
If the sum of the weights for all the variations in a segment override does not add up to 100,000, then the remaining traffic that matches this segment is not assigned by this segment override, and instead moves on to the next segment override or the default traffic split.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentOverrides
Use this parameter to specify different traffic splits for one or more audience segments. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.
This parameter is an array of up to six segment override objects. Each of these objects specifies a segment that you have already created, and defines the traffic split for that segment.
- Parameters:
segmentOverrides
- Use this parameter to specify different traffic splits for one or more audience segments. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.This parameter is an array of up to six segment override objects. Each of these objects specifies a segment that you have already created, and defines the traffic split for that segment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentOverrides
Use this parameter to specify different traffic splits for one or more audience segments. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.
This parameter is an array of up to six segment override objects. Each of these objects specifies a segment that you have already created, and defines the traffic split for that segment.
- Parameters:
segmentOverrides
- Use this parameter to specify different traffic splits for one or more audience segments. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.This parameter is an array of up to six segment override objects. Each of these objects specifies a segment that you have already created, and defines the traffic split for that segment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentOverrides
Use this parameter to specify different traffic splits for one or more audience segments. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.
This parameter is an array of up to six segment override objects. Each of these objects specifies a segment that you have already created, and defines the traffic split for that segment.
This is a convenience method that creates an instance of theSegmentOverride.Builder
avoiding the need to create one manually viaSegmentOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosegmentOverrides(List<SegmentOverride>)
.- Parameters:
segmentOverrides
- a consumer that will call methods onSegmentOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The date and time that this step of the launch starts.
- Parameters:
startTime
- The date and time that this step of the launch starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-