Interface EvaluateFeatureRequest.Builder

    • Method Detail

      • entityId

        EvaluateFeatureRequest.Builder entityId​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • evaluationContext

        EvaluateFeatureRequest.Builder evaluationContext​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • feature

        EvaluateFeatureRequest.Builder feature​(String feature)

        The name of the feature being evaluated.

        Parameters:
        feature - The name of the feature being evaluated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • project

        EvaluateFeatureRequest.Builder project​(String project)

        The name or ARN of the project that contains this feature.

        Parameters:
        project - The name or ARN of the project that contains this feature.
        Returns:
        Returns a reference to this object so that method calls can be chained together.