@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationRequest extends Object implements Serializable, Cloneable, StructuredPojo
This structure assigns a feature variation to one user session.
Constructor and Description |
---|
EvaluationRequest() |
Modifier and Type | Method and Description |
---|---|
EvaluationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getEntityId()
An internal ID that represents a unique user session of the application.
|
String |
getEvaluationContext()
A JSON block of attributes that you can optionally pass in.
|
String |
getFeature()
The name of the feature being evaluated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntityId(String entityId)
An internal ID that represents a unique user session of the application.
|
void |
setEvaluationContext(String evaluationContext)
A JSON block of attributes that you can optionally pass in.
|
void |
setFeature(String feature)
The name of the feature being evaluated.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationRequest |
withEntityId(String entityId)
An internal ID that represents a unique user session of the application.
|
EvaluationRequest |
withEvaluationContext(String evaluationContext)
A JSON block of attributes that you can optionally pass in.
|
EvaluationRequest |
withFeature(String feature)
The name of the feature being evaluated.
|
public void setEntityId(String entityId)
An internal ID that represents a unique user session of the application. This entityID
is checked
against any override rules assigned for this feature.
entityId
- An internal ID that represents a unique user session of the application. This entityID
is
checked against any override rules assigned for this feature.public String getEntityId()
An internal ID that represents a unique user session of the application. This entityID
is checked
against any override rules assigned for this feature.
entityID
is
checked against any override rules assigned for this feature.public EvaluationRequest withEntityId(String entityId)
An internal ID that represents a unique user session of the application. This entityID
is checked
against any override rules assigned for this feature.
entityId
- An internal ID that represents a unique user session of the application. This entityID
is
checked against any override rules assigned for this feature.public void setEvaluationContext(String evaluationContext)
A JSON block of attributes that you can optionally pass in. This JSON block is included in the evaluation events sent to Evidently from the user session.
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.
evaluationContext
- A JSON block of attributes that you can optionally pass in. This JSON block is included in the evaluation
events sent to Evidently from the user session.public String getEvaluationContext()
A JSON block of attributes that you can optionally pass in. This JSON block is included in the evaluation events sent to Evidently from the user session.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
public EvaluationRequest withEvaluationContext(String evaluationContext)
A JSON block of attributes that you can optionally pass in. This JSON block is included in the evaluation events sent to Evidently from the user session.
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.
evaluationContext
- A JSON block of attributes that you can optionally pass in. This JSON block is included in the evaluation
events sent to Evidently from the user session.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 EvaluationRequest withFeature(String feature)
The name of the feature being evaluated.
feature
- The name of the feature being evaluated.public String toString()
toString
in class Object
Object.toString()
public EvaluationRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.