Interface EvaluateFeatureRequest.Builder

  • Method Details

    • 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

      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

      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.
    • overrideConfiguration

      EvaluateFeatureRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.