@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateExperimentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateExperimentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateExperimentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
An optional description of the experiment.
|
String |
getExperiment()
The name of the experiment to update.
|
List<MetricGoalConfig> |
getMetricGoals()
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.
|
OnlineAbConfig |
getOnlineAbConfig()
A structure that contains the configuration of which variation o use as the "control" version.
|
String |
getProject()
The name or ARN of the project that contains the experiment that you want to update.
|
String |
getRandomizationSalt()
When Evidently assigns a particular user session to an experiment, it must use a randomization ID to determine
which variation the user session is served.
|
Boolean |
getRemoveSegment()
Removes a segment from being used in an experiment.
|
Long |
getSamplingRate()
The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent.
|
String |
getSegment()
Adds an audience segment to an experiment.
|
List<TreatmentConfig> |
getTreatments()
An array of structures that define the variations being tested in the experiment.
|
int |
hashCode() |
Boolean |
isRemoveSegment()
Removes a segment from being used in an experiment.
|
void |
setDescription(String description)
An optional description of the experiment.
|
void |
setExperiment(String experiment)
The name of the experiment to update.
|
void |
setMetricGoals(Collection<MetricGoalConfig> 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.
|
void |
setOnlineAbConfig(OnlineAbConfig onlineAbConfig)
A structure that contains the configuration of which variation o use as the "control" version.
|
void |
setProject(String project)
The name or ARN of the project that contains the experiment that you want to update.
|
void |
setRandomizationSalt(String randomizationSalt)
When Evidently assigns a particular user session to an experiment, it must use a randomization ID to determine
which variation the user session is served.
|
void |
setRemoveSegment(Boolean removeSegment)
Removes a segment from being used in an experiment.
|
void |
setSamplingRate(Long samplingRate)
The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent.
|
void |
setSegment(String segment)
Adds an audience segment to an experiment.
|
void |
setTreatments(Collection<TreatmentConfig> treatments)
An array of structures that define the variations being tested in the experiment.
|
String |
toString()
Returns a string representation of this object.
|
UpdateExperimentRequest |
withDescription(String description)
An optional description of the experiment.
|
UpdateExperimentRequest |
withExperiment(String experiment)
The name of the experiment to update.
|
UpdateExperimentRequest |
withMetricGoals(Collection<MetricGoalConfig> 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.
|
UpdateExperimentRequest |
withMetricGoals(MetricGoalConfig... 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.
|
UpdateExperimentRequest |
withOnlineAbConfig(OnlineAbConfig onlineAbConfig)
A structure that contains the configuration of which variation o use as the "control" version.
|
UpdateExperimentRequest |
withProject(String project)
The name or ARN of the project that contains the experiment that you want to update.
|
UpdateExperimentRequest |
withRandomizationSalt(String randomizationSalt)
When Evidently assigns a particular user session to an experiment, it must use a randomization ID to determine
which variation the user session is served.
|
UpdateExperimentRequest |
withRemoveSegment(Boolean removeSegment)
Removes a segment from being used in an experiment.
|
UpdateExperimentRequest |
withSamplingRate(Long samplingRate)
The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent.
|
UpdateExperimentRequest |
withSegment(String segment)
Adds an audience segment to an experiment.
|
UpdateExperimentRequest |
withTreatments(Collection<TreatmentConfig> treatments)
An array of structures that define the variations being tested in the experiment.
|
UpdateExperimentRequest |
withTreatments(TreatmentConfig... treatments)
An array of structures that define the variations being tested in the experiment.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDescription(String description)
An optional description of the experiment.
description
- An optional description of the experiment.public String getDescription()
An optional description of the experiment.
public UpdateExperimentRequest withDescription(String description)
An optional description of the experiment.
description
- An optional description of the experiment.public void setExperiment(String experiment)
The name of the experiment to update.
experiment
- The name of the experiment to update.public String getExperiment()
The name of the experiment to update.
public UpdateExperimentRequest withExperiment(String experiment)
The name of the experiment to update.
experiment
- The name of the experiment to update.public List<MetricGoalConfig> getMetricGoals()
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.
public void setMetricGoals(Collection<MetricGoalConfig> 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.public UpdateExperimentRequest withMetricGoals(MetricGoalConfig... 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.
NOTE: This method appends the values to the existing list (if any). Use
setMetricGoals(java.util.Collection)
or withMetricGoals(java.util.Collection)
if you want to
override the existing values.
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.public UpdateExperimentRequest withMetricGoals(Collection<MetricGoalConfig> 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.public void setOnlineAbConfig(OnlineAbConfig onlineAbConfig)
A structure that contains the configuration of which variation o 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.
onlineAbConfig
- A structure that contains the configuration of which variation o 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.public OnlineAbConfig getOnlineAbConfig()
A structure that contains the configuration of which variation o 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.
public UpdateExperimentRequest withOnlineAbConfig(OnlineAbConfig onlineAbConfig)
A structure that contains the configuration of which variation o 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.
onlineAbConfig
- A structure that contains the configuration of which variation o 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.public void setProject(String project)
The name or ARN of the project that contains the experiment that you want to update.
project
- The name or ARN of the project that contains the experiment that you want to update.public String getProject()
The name or ARN of the project that contains the experiment that you want to update.
public UpdateExperimentRequest withProject(String project)
The name or ARN of the project that contains the experiment that you want to update.
project
- The name or ARN of the project that contains the experiment that you want to update.public void setRandomizationSalt(String randomizationSalt)
When Evidently assigns a particular user session to an experiment, it must use a randomization ID to determine
which variation the user session is served. This randomization ID is a combination of the entity ID and
randomizationSalt
. If you omit randomizationSalt
, Evidently uses the experiment name as
the randomizationSalt
.
randomizationSalt
- When Evidently assigns a particular user session to an experiment, it must use a randomization ID to
determine which variation the user session is served. This randomization ID is a combination of the entity
ID and randomizationSalt
. If you omit randomizationSalt
, Evidently uses the
experiment name as the randomizationSalt
.public String getRandomizationSalt()
When Evidently assigns a particular user session to an experiment, it must use a randomization ID to determine
which variation the user session is served. This randomization ID is a combination of the entity ID and
randomizationSalt
. If you omit randomizationSalt
, Evidently uses the experiment name as
the randomizationSalt
.
randomizationSalt
. If you omit randomizationSalt
, Evidently uses
the experiment name as the randomizationSalt
.public UpdateExperimentRequest withRandomizationSalt(String randomizationSalt)
When Evidently assigns a particular user session to an experiment, it must use a randomization ID to determine
which variation the user session is served. This randomization ID is a combination of the entity ID and
randomizationSalt
. If you omit randomizationSalt
, Evidently uses the experiment name as
the randomizationSalt
.
randomizationSalt
- When Evidently assigns a particular user session to an experiment, it must use a randomization ID to
determine which variation the user session is served. This randomization ID is a combination of the entity
ID and randomizationSalt
. If you omit randomizationSalt
, Evidently uses the
experiment name as the randomizationSalt
.public void setRemoveSegment(Boolean removeSegment)
Removes a segment from being used in an experiment. You can't use this parameter if the experiment is currently running.
removeSegment
- Removes a segment from being used in an experiment. You can't use this parameter if the experiment is
currently running.public Boolean getRemoveSegment()
Removes a segment from being used in an experiment. You can't use this parameter if the experiment is currently running.
public UpdateExperimentRequest withRemoveSegment(Boolean removeSegment)
Removes a segment from being used in an experiment. You can't use this parameter if the experiment is currently running.
removeSegment
- Removes a segment from being used in an experiment. You can't use this parameter if the experiment is
currently running.public Boolean isRemoveSegment()
Removes a segment from being used in an experiment. You can't use this parameter if the experiment is currently running.
public void setSamplingRate(Long samplingRate)
The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent. 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. For example, specify 20,000 to allocate 20% of the available audience.
samplingRate
- The portion of the available audience that you want to allocate to this experiment, in thousandths of a
percent. 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. For example, specify 20,000 to allocate 20% of the available audience.
public Long getSamplingRate()
The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent. 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. For example, specify 20,000 to allocate 20% of the available audience.
This is represented in thousandths of a percent. For example, specify 20,000 to allocate 20% of the available audience.
public UpdateExperimentRequest withSamplingRate(Long samplingRate)
The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent. 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. For example, specify 20,000 to allocate 20% of the available audience.
samplingRate
- The portion of the available audience that you want to allocate to this experiment, in thousandths of a
percent. 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. For example, specify 20,000 to allocate 20% of the available audience.
public void setSegment(String segment)
Adds an audience segment to an experiment. When a segment is used in an experiment, only user sessions that match the segment pattern are used in the experiment. You can't use this parameter if the experiment is currently running.
segment
- Adds an audience segment to an experiment. When a segment is used in an experiment, only user
sessions that match the segment pattern are used in the experiment. You can't use this parameter if the
experiment is currently running.public String getSegment()
Adds an audience segment to an experiment. When a segment is used in an experiment, only user sessions that match the segment pattern are used in the experiment. You can't use this parameter if the experiment is currently running.
public UpdateExperimentRequest withSegment(String segment)
Adds an audience segment to an experiment. When a segment is used in an experiment, only user sessions that match the segment pattern are used in the experiment. You can't use this parameter if the experiment is currently running.
segment
- Adds an audience segment to an experiment. When a segment is used in an experiment, only user
sessions that match the segment pattern are used in the experiment. You can't use this parameter if the
experiment is currently running.public List<TreatmentConfig> getTreatments()
An array of structures that define the variations being tested in the experiment.
public void setTreatments(Collection<TreatmentConfig> treatments)
An array of structures that define the variations being tested in the experiment.
treatments
- An array of structures that define the variations being tested in the experiment.public UpdateExperimentRequest withTreatments(TreatmentConfig... treatments)
An array of structures that define the variations being tested in the experiment.
NOTE: This method appends the values to the existing list (if any). Use
setTreatments(java.util.Collection)
or withTreatments(java.util.Collection)
if you want to
override the existing values.
treatments
- An array of structures that define the variations being tested in the experiment.public UpdateExperimentRequest withTreatments(Collection<TreatmentConfig> treatments)
An array of structures that define the variations being tested in the experiment.
treatments
- An array of structures that define the variations being tested in the experiment.public String toString()
toString
in class Object
Object.toString()
public UpdateExperimentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()