Class EvaluateFeatureRequest

    • Method Detail

      • entityId

        public final String entityId()

        An internal ID that represents a unique user of the application. This entityID is checked against any override rules assigned for this feature.

        Returns:
        An internal ID that represents a unique user of the application. This entityID is 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.
      • 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.
        Overrides:
        toString in class Object