@Generated(value="software.amazon.awssdk:codegen") public final class EvaluationResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationResult.Builder,EvaluationResult>
This structure displays the results of one feature evaluation assignment to one user session.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EvaluationResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EvaluationResult.Builder |
builder() |
String |
details()
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
|
String |
entityId()
An internal ID that represents a unique user session of the application.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
feature()
The name of the feature being evaluated.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
project()
The name or ARN of the project that contains the feature being evaluated.
|
String |
reason()
Specifies the reason that the user session was assigned this variation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EvaluationResult.Builder> |
serializableBuilderClass() |
EvaluationResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VariableValue |
value()
The value assigned to this variation to differentiate it from the other variations of this feature.
|
String |
variation()
The name of the variation that was served to the user session.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String details()
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
public final String entityId()
An internal ID that represents a unique user session of the application.
public final String feature()
The name of the feature being evaluated.
public final String project()
The name or ARN of the project that contains the feature being evaluated.
public final 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.
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 final VariableValue value()
The value assigned to this variation to differentiate it from the other variations of this feature.
public final String variation()
The name of the variation that was served to the user session.
public EvaluationResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EvaluationResult.Builder,EvaluationResult>public static EvaluationResult.Builder builder()
public static Class<? extends EvaluationResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.