Interface JsonClassifier.Builder

    • Method Detail

      • name

        JsonClassifier.Builder name​(String name)

        The name of the classifier.

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

        JsonClassifier.Builder creationTime​(Instant creationTime)

        The time that this classifier was registered.

        Parameters:
        creationTime - The time that this classifier was registered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdated

        JsonClassifier.Builder lastUpdated​(Instant lastUpdated)

        The time that this classifier was last updated.

        Parameters:
        lastUpdated - The time that this classifier was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        JsonClassifier.Builder version​(Long version)

        The version of this classifier.

        Parameters:
        version - The version of this classifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jsonPath

        JsonClassifier.Builder jsonPath​(String jsonPath)

        A JsonPath string defining the JSON data for the classifier to classify. Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers.

        Parameters:
        jsonPath - A JsonPath string defining the JSON data for the classifier to classify. Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.