Interface Treatment.Builder

    • Method Detail

      • description

        Treatment.Builder description​(String description)

        The description of the treatment.

        Parameters:
        description - The description of the treatment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • featureVariations

        Treatment.Builder featureVariations​(Map<String,​String> featureVariations)

        The feature variation used for this treatment. This is a key-value pair. The key is the feature name, and the value is the variation name.

        Parameters:
        featureVariations - The feature variation used for this treatment. This is a key-value pair. The key is the feature name, and the value is the variation name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Treatment.Builder name​(String name)

        The name of this treatment.

        Parameters:
        name - The name of this treatment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.