Class EvaluationResult
- java.lang.Object
-
- software.amazon.awssdk.services.evidently.model.EvaluationResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EvaluationResult.Builder,EvaluationResult>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEvaluationResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvaluationResult.Builderbuilder()Stringdetails()If this user was assigned to a launch or experiment, this field lists the launch or experiment name.StringentityId()An internal ID that represents a unique user session of the application.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfeature()The name of the feature being evaluated.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringproject()The name or ARN of the project that contains the feature being evaluated.Stringreason()Specifies the reason that the user session was assigned this variation.List<SdkField<?>>sdkFields()static Class<? extends EvaluationResult.Builder>serializableBuilderClass()EvaluationResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.VariableValuevalue()The value assigned to this variation to differentiate it from the other variations of this feature.Stringvariation()The name of the variation that was served to the user session.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
details
public final String details()
If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
- Returns:
- If this user was assigned to a launch or experiment, this field lists the launch or experiment name.
-
entityId
public final String entityId()
An internal ID that represents a unique user session of the application.
- Returns:
- An internal ID that represents a unique user session of the application.
-
feature
public final String feature()
The name of the feature being evaluated.
- Returns:
- The name of the feature being evaluated.
-
project
public final String project()
The name or ARN of the project that contains the feature being evaluated.
- Returns:
- The name or ARN of the project that contains the feature being evaluated.
-
reason
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; orEXPERIMENT_RULE_MATCH, if the user session was enrolled in an experiment.- Returns:
- 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; orEXPERIMENT_RULE_MATCH, if the user session was enrolled in an experiment.
-
value
public final VariableValue value()
The value assigned to this variation to differentiate it from the other variations of this feature.
- Returns:
- The value assigned to this variation to differentiate it from the other variations of this feature.
-
variation
public final String variation()
The name of the variation that was served to the user session.
- Returns:
- The name of the variation that was served to the user session.
-
toBuilder
public EvaluationResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EvaluationResult.Builder,EvaluationResult>
-
builder
public static EvaluationResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends EvaluationResult.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-