@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledSplit extends Object implements Serializable, Cloneable, StructuredPojo
This structure defines the traffic allocation percentages among the feature variations during one step of a launch, and the start time of that step.
Constructor and Description |
---|
ScheduledSplit() |
Modifier and Type | Method and Description |
---|---|
ScheduledSplit |
addGroupWeightsEntry(String key,
Long value)
Add a single GroupWeights entry
|
ScheduledSplit |
clearGroupWeightsEntries()
Removes all the entries added into GroupWeights.
|
ScheduledSplit |
clone() |
boolean |
equals(Object obj) |
Map<String,Long> |
getGroupWeights()
The traffic allocation percentages among the feature variations during one step of a launch.
|
List<SegmentOverride> |
getSegmentOverrides()
Use this parameter to specify different traffic splits for one or more audience segments.
|
Date |
getStartTime()
The date and time that this step of the launch starts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroupWeights(Map<String,Long> groupWeights)
The traffic allocation percentages among the feature variations during one step of a launch.
|
void |
setSegmentOverrides(Collection<SegmentOverride> segmentOverrides)
Use this parameter to specify different traffic splits for one or more audience segments.
|
void |
setStartTime(Date startTime)
The date and time that this step of the launch starts.
|
String |
toString()
Returns a string representation of this object.
|
ScheduledSplit |
withGroupWeights(Map<String,Long> groupWeights)
The traffic allocation percentages among the feature variations during one step of a launch.
|
ScheduledSplit |
withSegmentOverrides(Collection<SegmentOverride> segmentOverrides)
Use this parameter to specify different traffic splits for one or more audience segments.
|
ScheduledSplit |
withSegmentOverrides(SegmentOverride... segmentOverrides)
Use this parameter to specify different traffic splits for one or more audience segments.
|
ScheduledSplit |
withStartTime(Date startTime)
The date and time that this step of the launch starts.
|
public Map<String,Long> getGroupWeights()
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.
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.
public void setGroupWeights(Map<String,Long> 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.
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.
public ScheduledSplit withGroupWeights(Map<String,Long> 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.
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.
public ScheduledSplit addGroupWeightsEntry(String key, Long value)
public ScheduledSplit clearGroupWeightsEntries()
public List<SegmentOverride> getSegmentOverrides()
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 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.
public void setSegmentOverrides(Collection<SegmentOverride> 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.
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.
public ScheduledSplit withSegmentOverrides(SegmentOverride... 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.
NOTE: This method appends the values to the existing list (if any). Use
setSegmentOverrides(java.util.Collection)
or withSegmentOverrides(java.util.Collection)
if you
want to override the existing values.
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.
public ScheduledSplit withSegmentOverrides(Collection<SegmentOverride> 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.
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.
public void setStartTime(Date startTime)
The date and time that this step of the launch starts.
startTime
- The date and time that this step of the launch starts.public Date getStartTime()
The date and time that this step of the launch starts.
public ScheduledSplit withStartTime(Date startTime)
The date and time that this step of the launch starts.
startTime
- The date and time that this step of the launch starts.public String toString()
toString
in class Object
Object.toString()
public ScheduledSplit clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.