@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateExperimentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateExperimentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateExperimentRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateExperimentRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateExperimentRequest |
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.
|
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.
|
String |
getName()
A name for the new experiment.
|
OnlineAbConfig |
getOnlineAbConfig()
A structure that contains the configuration of which variation to use as the "control" version.
|
String |
getProject()
The name or ARN of the project that you want to create the new experiment in.
|
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.
|
Long |
getSamplingRate()
The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent.
|
String |
getSegment()
Specifies an audience segment to use in the experiment.
|
Map<String,String> |
getTags()
Assigns one or more tags (key-value pairs) to the experiment.
|
List<TreatmentConfig> |
getTreatments()
An array of structures that describe the configuration of each feature variation used in the experiment.
|
int |
hashCode() |
void |
setDescription(String description)
An optional description of the experiment.
|
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 |
setName(String name)
A name for the new experiment.
|
void |
setOnlineAbConfig(OnlineAbConfig onlineAbConfig)
A structure that contains the configuration of which variation to use as the "control" version.
|
void |
setProject(String project)
The name or ARN of the project that you want to create the new experiment in.
|
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 |
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)
Specifies an audience segment to use in the experiment.
|
void |
setTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the experiment.
|
void |
setTreatments(Collection<TreatmentConfig> treatments)
An array of structures that describe the configuration of each feature variation used in the experiment.
|
String |
toString()
Returns a string representation of this object.
|
CreateExperimentRequest |
withDescription(String description)
An optional description of the experiment.
|
CreateExperimentRequest |
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.
|
CreateExperimentRequest |
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.
|
CreateExperimentRequest |
withName(String name)
A name for the new experiment.
|
CreateExperimentRequest |
withOnlineAbConfig(OnlineAbConfig onlineAbConfig)
A structure that contains the configuration of which variation to use as the "control" version.
|
CreateExperimentRequest |
withProject(String project)
The name or ARN of the project that you want to create the new experiment in.
|
CreateExperimentRequest |
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.
|
CreateExperimentRequest |
withSamplingRate(Long samplingRate)
The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent.
|
CreateExperimentRequest |
withSegment(String segment)
Specifies an audience segment to use in the experiment.
|
CreateExperimentRequest |
withTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the experiment.
|
CreateExperimentRequest |
withTreatments(Collection<TreatmentConfig> treatments)
An array of structures that describe the configuration of each feature variation used in the experiment.
|
CreateExperimentRequest |
withTreatments(TreatmentConfig... treatments)
An array of structures that describe the configuration of each feature variation used 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 CreateExperimentRequest withDescription(String description)
An optional description of the experiment.
description
- An optional description of the experiment.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 CreateExperimentRequest 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 CreateExperimentRequest 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 setName(String name)
A name for the new experiment.
name
- A name for the new experiment.public String getName()
A name for the new experiment.
public CreateExperimentRequest withName(String name)
A name for the new experiment.
name
- A name for the new experiment.public void setOnlineAbConfig(OnlineAbConfig onlineAbConfig)
A structure that contains the configuration of which variation to use as the "control" version. tThe "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 to use as the "control" version. tThe
"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 to use as the "control" version. tThe "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
public CreateExperimentRequest withOnlineAbConfig(OnlineAbConfig onlineAbConfig)
A structure that contains the configuration of which variation to use as the "control" version. tThe "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 to use as the "control" version. tThe
"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 you want to create the new experiment in.
project
- The name or ARN of the project that you want to create the new experiment in.public String getProject()
The name or ARN of the project that you want to create the new experiment in.
public CreateExperimentRequest withProject(String project)
The name or ARN of the project that you want to create the new experiment in.
project
- The name or ARN of the project that you want to create the new experiment in.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 CreateExperimentRequest 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 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 10,000 to allocate 10% 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 10,000 to allocate 10% 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 10,000 to allocate 10% of the available audience.
This is represented in thousandths of a percent. For example, specify 10,000 to allocate 10% of the available audience.
public CreateExperimentRequest 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 10,000 to allocate 10% 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 10,000 to allocate 10% of the available audience.
public void setSegment(String segment)
Specifies an audience segment to use in the experiment. When a segment is used in an experiment, only user sessions that match the segment pattern are used in the experiment.
segment
- Specifies an audience segment to use in the experiment. When a segment is used in an experiment,
only user sessions that match the segment pattern are used in the experiment.public String getSegment()
Specifies an audience segment to use in the experiment. When a segment is used in an experiment, only user sessions that match the segment pattern are used in the experiment.
public CreateExperimentRequest withSegment(String segment)
Specifies an audience segment to use in the experiment. When a segment is used in an experiment, only user sessions that match the segment pattern are used in the experiment.
segment
- Specifies an audience segment to use in the experiment. When a segment is used in an experiment,
only user sessions that match the segment pattern are used in the experiment.public Map<String,String> getTags()
Assigns one or more tags (key-value pairs) to the experiment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an experiment.
For more information, see Tagging Amazon Web Services resources.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an experiment.
For more information, see Tagging Amazon Web Services resources.
public void setTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the experiment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an experiment.
For more information, see Tagging Amazon Web Services resources.
tags
- Assigns one or more tags (key-value pairs) to the experiment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an experiment.
For more information, see Tagging Amazon Web Services resources.
public CreateExperimentRequest withTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the experiment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an experiment.
For more information, see Tagging Amazon Web Services resources.
tags
- Assigns one or more tags (key-value pairs) to the experiment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an experiment.
For more information, see Tagging Amazon Web Services resources.
public CreateExperimentRequest addTagsEntry(String key, String value)
public CreateExperimentRequest clearTagsEntries()
public List<TreatmentConfig> getTreatments()
An array of structures that describe the configuration of each feature variation used in the experiment.
public void setTreatments(Collection<TreatmentConfig> 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.public CreateExperimentRequest withTreatments(TreatmentConfig... treatments)
An array of structures that describe the configuration of each feature variation used 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 describe the configuration of each feature variation used in the experiment.public CreateExperimentRequest withTreatments(Collection<TreatmentConfig> 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.public String toString()
toString
in class Object
Object.toString()
public CreateExperimentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()