public static interface Experiment.Builder extends SdkPojo, CopyableBuilder<Experiment.Builder,Experiment>
| Modifier and Type | Method and Description |
|---|---|
Experiment.Builder |
arn(String arn)
The ARN of the experiment.
|
Experiment.Builder |
createdTime(Instant createdTime)
The date and time that the experiment is first created.
|
Experiment.Builder |
description(String description)
A description of the experiment.
|
default Experiment.Builder |
execution(Consumer<ExperimentExecution.Builder> execution)
A structure that contains the date and time that the experiment started and ended.
|
Experiment.Builder |
execution(ExperimentExecution execution)
A structure that contains the date and time that the experiment started and ended.
|
Experiment.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The date and time that the experiment was most recently updated.
|
Experiment.Builder |
metricGoals(Collection<MetricGoal> metricGoals)
An array of structures that defines the metrics used for the experiment, and whether a higher or lower value
for each metric is the goal.
|
Experiment.Builder |
metricGoals(Consumer<MetricGoal.Builder>... metricGoals)
An array of structures that defines the metrics used for the experiment, and whether a higher or lower value
for each metric is the goal.
|
Experiment.Builder |
metricGoals(MetricGoal... metricGoals)
An array of structures that defines the metrics used for the experiment, and whether a higher or lower value
for each metric is the goal.
|
Experiment.Builder |
name(String name)
The name of the experiment.
|
default Experiment.Builder |
onlineAbDefinition(Consumer<OnlineAbDefinition.Builder> onlineAbDefinition)
A structure that contains the configuration of which variation to use as the "control" version.
|
Experiment.Builder |
onlineAbDefinition(OnlineAbDefinition onlineAbDefinition)
A structure that contains the configuration of which variation to use as the "control" version.
|
Experiment.Builder |
project(String project)
The name or ARN of the project that contains this experiment.
|
Experiment.Builder |
randomizationSalt(String randomizationSalt)
This value is used when Evidently assigns a particular user session to the experiment.
|
Experiment.Builder |
samplingRate(Long samplingRate)
In thousandths of a percent, the amount of the available audience that is allocated to this experiment.
|
default Experiment.Builder |
schedule(Consumer<ExperimentSchedule.Builder> schedule)
A structure that contains the time and date that Evidently completed the analysis of the experiment.
|
Experiment.Builder |
schedule(ExperimentSchedule schedule)
A structure that contains the time and date that Evidently completed the analysis of the experiment.
|
Experiment.Builder |
segment(String segment)
The audience segment being used for the experiment, if a segment is being used.
|
Experiment.Builder |
status(ExperimentStatus status)
The current state of the experiment.
|
Experiment.Builder |
status(String status)
The current state of the experiment.
|
Experiment.Builder |
statusReason(String statusReason)
If the experiment was stopped, this is the string that was entered by the person who stopped the experiment,
to explain why it was stopped.
|
Experiment.Builder |
tags(Map<String,String> tags)
The list of tag keys and values associated with this experiment.
|
Experiment.Builder |
treatments(Collection<Treatment> treatments)
An array of structures that describe the configuration of each feature variation used in the experiment.
|
Experiment.Builder |
treatments(Consumer<Treatment.Builder>... treatments)
An array of structures that describe the configuration of each feature variation used in the experiment.
|
Experiment.Builder |
treatments(Treatment... treatments)
An array of structures that describe the configuration of each feature variation used in the experiment.
|
Experiment.Builder |
type(ExperimentType type)
The type of this experiment.
|
Experiment.Builder |
type(String type)
The type of this experiment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExperiment.Builder arn(String arn)
The ARN of the experiment.
arn - The ARN of the experiment.Experiment.Builder createdTime(Instant createdTime)
The date and time that the experiment is first created.
createdTime - The date and time that the experiment is first created.Experiment.Builder description(String description)
A description of the experiment.
description - A description of the experiment.Experiment.Builder execution(ExperimentExecution execution)
A structure that contains the date and time that the experiment started and ended.
execution - A structure that contains the date and time that the experiment started and ended.default Experiment.Builder execution(Consumer<ExperimentExecution.Builder> execution)
A structure that contains the date and time that the experiment started and ended.
This is a convenience method that creates an instance of theExperimentExecution.Builder avoiding the
need to create one manually via ExperimentExecution.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to execution(ExperimentExecution).
execution - a consumer that will call methods on ExperimentExecution.Builderexecution(ExperimentExecution)Experiment.Builder lastUpdatedTime(Instant lastUpdatedTime)
The date and time that the experiment was most recently updated.
lastUpdatedTime - The date and time that the experiment was most recently updated.Experiment.Builder metricGoals(Collection<MetricGoal> metricGoals)
An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.
metricGoals - An array of structures that defines the metrics used for the experiment, and whether a higher or lower
value for each metric is the goal.Experiment.Builder metricGoals(MetricGoal... metricGoals)
An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.
metricGoals - An array of structures that defines the metrics used for the experiment, and whether a higher or lower
value for each metric is the goal.Experiment.Builder metricGoals(Consumer<MetricGoal.Builder>... metricGoals)
An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.
This is a convenience method that creates an instance of theMetricGoal.Builder avoiding the need to create one
manually via MetricGoal.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #metricGoals(List.
metricGoals - a consumer that will call methods on
MetricGoal.Builder#metricGoals(java.util.Collection) Experiment.Builder name(String name)
The name of the experiment.
name - The name of the experiment.Experiment.Builder onlineAbDefinition(OnlineAbDefinition onlineAbDefinition)
A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
onlineAbDefinition - A structure that contains the configuration of which variation to use as the "control" version. The
"control" version is used for comparison with other variations. This structure also specifies how much
experiment traffic is allocated to each variation.default Experiment.Builder onlineAbDefinition(Consumer<OnlineAbDefinition.Builder> onlineAbDefinition)
A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
This is a convenience method that creates an instance of theOnlineAbDefinition.Builder avoiding the
need to create one manually via OnlineAbDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to onlineAbDefinition(OnlineAbDefinition).
onlineAbDefinition - a consumer that will call methods on OnlineAbDefinition.BuilderonlineAbDefinition(OnlineAbDefinition)Experiment.Builder project(String project)
The name or ARN of the project that contains this experiment.
project - The name or ARN of the project that contains this experiment.Experiment.Builder randomizationSalt(String randomizationSalt)
This value is used when Evidently assigns a particular user session to the experiment. It helps create a
randomization ID to determine which variation the user session is served. This randomization ID is a
combination of the entity ID and randomizationSalt.
randomizationSalt - This value is used when Evidently assigns a particular user session to the experiment. It helps create
a randomization ID to determine which variation the user session is served. This randomization ID is a
combination of the entity ID and randomizationSalt.Experiment.Builder samplingRate(Long samplingRate)
In thousandths of a percent, the amount of the available audience that is allocated to this experiment. The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.
This is represented in thousandths of a percent, so a value of 10,000 is 10% of the available audience.
samplingRate - In thousandths of a percent, the amount of the available audience that is allocated to this
experiment. The available audience is the total audience minus the audience that you have allocated to
overrides or current launches of this feature.
This is represented in thousandths of a percent, so a value of 10,000 is 10% of the available audience.
Experiment.Builder schedule(ExperimentSchedule schedule)
A structure that contains the time and date that Evidently completed the analysis of the experiment.
schedule - A structure that contains the time and date that Evidently completed the analysis of the experiment.default Experiment.Builder schedule(Consumer<ExperimentSchedule.Builder> schedule)
A structure that contains the time and date that Evidently completed the analysis of the experiment.
This is a convenience method that creates an instance of theExperimentSchedule.Builder avoiding the
need to create one manually via ExperimentSchedule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to schedule(ExperimentSchedule).
schedule - a consumer that will call methods on ExperimentSchedule.Builderschedule(ExperimentSchedule)Experiment.Builder segment(String segment)
The audience segment being used for the experiment, if a segment is being used.
segment - The audience segment being used for the experiment, if a segment is being used.Experiment.Builder status(String status)
The current state of the experiment.
status - The current state of the experiment.ExperimentStatus,
ExperimentStatusExperiment.Builder status(ExperimentStatus status)
The current state of the experiment.
status - The current state of the experiment.ExperimentStatus,
ExperimentStatusExperiment.Builder statusReason(String statusReason)
If the experiment was stopped, this is the string that was entered by the person who stopped the experiment, to explain why it was stopped.
statusReason - If the experiment was stopped, this is the string that was entered by the person who stopped the
experiment, to explain why it was stopped.Experiment.Builder tags(Map<String,String> tags)
The list of tag keys and values associated with this experiment.
tags - The list of tag keys and values associated with this experiment.Experiment.Builder treatments(Collection<Treatment> treatments)
An array of structures that describe the configuration of each feature variation used in the experiment.
treatments - An array of structures that describe the configuration of each feature variation used in the
experiment.Experiment.Builder treatments(Treatment... treatments)
An array of structures that describe the configuration of each feature variation used in the experiment.
treatments - An array of structures that describe the configuration of each feature variation used in the
experiment.Experiment.Builder treatments(Consumer<Treatment.Builder>... treatments)
An array of structures that describe the configuration of each feature variation used in the experiment.
This is a convenience method that creates an instance of theTreatment.Builder avoiding the need to create one
manually via Treatment.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #treatments(List.
treatments - a consumer that will call methods on
Treatment.Builder#treatments(java.util.Collection) Experiment.Builder type(String type)
The type of this experiment. Currently, this value must be aws.experiment.onlineab.
type - The type of this experiment. Currently, this value must be aws.experiment.onlineab.ExperimentType,
ExperimentTypeExperiment.Builder type(ExperimentType type)
The type of this experiment. Currently, this value must be aws.experiment.onlineab.
type - The type of this experiment. Currently, this value must be aws.experiment.onlineab.ExperimentType,
ExperimentTypeCopyright © 2022. All rights reserved.