Class EvaluateFeatureRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.evidently.model.EvidentlyRequest
-
- software.amazon.awssdk.services.evidently.model.EvaluateFeatureRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<EvaluateFeatureRequest.Builder,EvaluateFeatureRequest>
@Generated("software.amazon.awssdk:codegen") public final class EvaluateFeatureRequest extends EvidentlyRequest implements ToCopyableBuilder<EvaluateFeatureRequest.Builder,EvaluateFeatureRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEvaluateFeatureRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvaluateFeatureRequest.Builderbuilder()StringentityId()An internal ID that represents a unique user of the application.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringevaluationContext()A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session.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 this feature.List<SdkField<?>>sdkFields()static Class<? extends EvaluateFeatureRequest.Builder>serializableBuilderClass()EvaluateFeatureRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
entityId
public final String entityId()
An internal ID that represents a unique user of the application. This
entityIDis checked against any override rules assigned for this feature.- Returns:
- An internal ID that represents a unique user of the application. This
entityIDis checked against any override rules assigned for this feature.
-
evaluationContext
public final String evaluationContext()
A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.
If you include this parameter, the value must be a JSON object. A JSON array is not supported.
- Returns:
- A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to
Evidently from the user session. Evidently can use this value to match user sessions with defined
audience segments. For more information, see Use
segments to focus your audience.
If you include this parameter, the value must be a JSON object. A JSON array is not supported.
-
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 this feature.
- Returns:
- The name or ARN of the project that contains this feature.
-
toBuilder
public EvaluateFeatureRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EvaluateFeatureRequest.Builder,EvaluateFeatureRequest>- Specified by:
toBuilderin classEvidentlyRequest
-
builder
public static EvaluateFeatureRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends EvaluateFeatureRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-