@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationResult extends Object implements Serializable, Cloneable, StructuredPojo
This structure displays the results of one feature evaluation assignment to one user session.
Constructor and Description |
---|
EvaluationResult() |
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
clone() |
boolean |
equals(Object obj) |
String |
getDetails()
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
|
String |
getEntityId()
An internal ID that represents a unique user session of the application.
|
String |
getFeature()
The name of the feature being evaluated.
|
String |
getProject()
The name or ARN of the project that contains the feature being evaluated.
|
String |
getReason()
Specifies the reason that the user session was assigned this variation.
|
VariableValue |
getValue()
The value assigned to this variation to differentiate it from the other variations of this feature.
|
String |
getVariation()
The name of the variation that was served to the user session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetails(String details)
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
|
void |
setEntityId(String entityId)
An internal ID that represents a unique user session of the application.
|
void |
setFeature(String feature)
The name of the feature being evaluated.
|
void |
setProject(String project)
The name or ARN of the project that contains the feature being evaluated.
|
void |
setReason(String reason)
Specifies the reason that the user session was assigned this variation.
|
void |
setValue(VariableValue value)
The value assigned to this variation to differentiate it from the other variations of this feature.
|
void |
setVariation(String variation)
The name of the variation that was served to the user session.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationResult |
withDetails(String details)
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
|
EvaluationResult |
withEntityId(String entityId)
An internal ID that represents a unique user session of the application.
|
EvaluationResult |
withFeature(String feature)
The name of the feature being evaluated.
|
EvaluationResult |
withProject(String project)
The name or ARN of the project that contains the feature being evaluated.
|
EvaluationResult |
withReason(String reason)
Specifies the reason that the user session was assigned this variation.
|
EvaluationResult |
withValue(VariableValue value)
The value assigned to this variation to differentiate it from the other variations of this feature.
|
EvaluationResult |
withVariation(String variation)
The name of the variation that was served to the user session.
|
public void setDetails(String details)
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
details
- If this user was assigned to a launch or experiment, this field lists the launch or experiment name.public String getDetails()
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
public EvaluationResult withDetails(String details)
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
details
- If this user was assigned to a launch or experiment, this field lists the launch or experiment name.public void setEntityId(String entityId)
An internal ID that represents a unique user session of the application.
entityId
- An internal ID that represents a unique user session of the application.public String getEntityId()
An internal ID that represents a unique user session of the application.
public EvaluationResult withEntityId(String entityId)
An internal ID that represents a unique user session of the application.
entityId
- An internal ID that represents a unique user session of the application.public void setFeature(String feature)
The name of the feature being evaluated.
feature
- The name of the feature being evaluated.public String getFeature()
The name of the feature being evaluated.
public EvaluationResult withFeature(String feature)
The name of the feature being evaluated.
feature
- The name of the feature being evaluated.public void setProject(String project)
The name or ARN of the project that contains the feature being evaluated.
project
- The name or ARN of the project that contains the feature being evaluated.public String getProject()
The name or ARN of the project that contains the feature being evaluated.
public EvaluationResult withProject(String project)
The name or ARN of the project that contains the feature being evaluated.
project
- The name or ARN of the project that contains the feature being evaluated.public void setReason(String reason)
Specifies the reason that the user session was assigned this variation. Possible values include
DEFAULT
, meaning the user was served the default variation; LAUNCH_RULE_MATCH
, if the
user session was enrolled in a launch; or EXPERIMENT_RULE_MATCH
, if the user session was enrolled in
an experiment.
reason
- Specifies the reason that the user session was assigned this variation. Possible values include
DEFAULT
, meaning the user was served the default variation; LAUNCH_RULE_MATCH
,
if the user session was enrolled in a launch; or EXPERIMENT_RULE_MATCH
, if the user session
was enrolled in an experiment.public String getReason()
Specifies the reason that the user session was assigned this variation. Possible values include
DEFAULT
, meaning the user was served the default variation; LAUNCH_RULE_MATCH
, if the
user session was enrolled in a launch; or EXPERIMENT_RULE_MATCH
, if the user session was enrolled in
an experiment.
DEFAULT
, meaning the user was served the default variation; LAUNCH_RULE_MATCH
,
if the user session was enrolled in a launch; or EXPERIMENT_RULE_MATCH
, if the user session
was enrolled in an experiment.public EvaluationResult withReason(String reason)
Specifies the reason that the user session was assigned this variation. Possible values include
DEFAULT
, meaning the user was served the default variation; LAUNCH_RULE_MATCH
, if the
user session was enrolled in a launch; or EXPERIMENT_RULE_MATCH
, if the user session was enrolled in
an experiment.
reason
- Specifies the reason that the user session was assigned this variation. Possible values include
DEFAULT
, meaning the user was served the default variation; LAUNCH_RULE_MATCH
,
if the user session was enrolled in a launch; or EXPERIMENT_RULE_MATCH
, if the user session
was enrolled in an experiment.public void setValue(VariableValue value)
The value assigned to this variation to differentiate it from the other variations of this feature.
value
- The value assigned to this variation to differentiate it from the other variations of this feature.public VariableValue getValue()
The value assigned to this variation to differentiate it from the other variations of this feature.
public EvaluationResult withValue(VariableValue value)
The value assigned to this variation to differentiate it from the other variations of this feature.
value
- The value assigned to this variation to differentiate it from the other variations of this feature.public void setVariation(String variation)
The name of the variation that was served to the user session.
variation
- The name of the variation that was served to the user session.public String getVariation()
The name of the variation that was served to the user session.
public EvaluationResult withVariation(String variation)
The name of the variation that was served to the user session.
variation
- The name of the variation that was served to the user session.public String toString()
toString
in class Object
Object.toString()
public EvaluationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.