Class Classifier.Builder

  • Enclosing class:
    Classifier

    public static class Classifier.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Classifier.Builder id​(String id)
        Unique identifier of the classifier.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public Classifier.Builder name​(String name)
        The display name of the classifier.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • label

        public Classifier.Builder label​(String label)
        The label associated with the classifier.
        Parameters:
        label - the value to set
        Returns:
        this builder
      • description

        public Classifier.Builder description​(String description)
        The description of the classifier.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • issueTypeList

        public Classifier.Builder issueTypeList​(List<IssueType> issueTypeList)
        The list of issues.
        Parameters:
        issueTypeList - the value to set
        Returns:
        this builder
      • scope

        public Classifier.Builder scope​(Classifier.Scope scope)
        The scope of the service category or resource.
        Parameters:
        scope - the value to set
        Returns:
        this builder
      • unit

        public Classifier.Builder unit​(Classifier.Unit unit)
        The unit to use to measure the service category or resource.
        Parameters:
        unit - the value to set
        Returns:
        this builder