Class Label.Builder

  • Enclosing class:
    Label

    public static final class Label.Builder
    extends java.lang.Object
    Builder class for Label.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of Label.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of Label.
    • Method Detail

      • setCondition

        public Label.Builder setCondition​(java.lang.String condition)
        If the condition is met then the label will be applied. Examples of expression syntax are provided under example_request section of CreateWidgetConfiguration API.
        Parameters:
        condition - New value for the property.
      • setHover

        public Label.Builder setHover​(java.lang.Boolean hover)
        If true, displays the label only on hover
        Parameters:
        hover - New value for the property.
      • setIcons

        public Label.Builder setIcons​(java.util.List<Icon> icons)
        Icons to be applied at dashboard for the label
        Parameters:
        icons - New value for the property.
      • setNavigation

        public Label.Builder setNavigation​(java.lang.String navigation)
        Hyperlink of the specified UI page that provides details.
        Parameters:
        navigation - New value for the property.
      • setText

        public Label.Builder setText​(java.lang.String text)
        Text to be displayed at the label.
        Parameters:
        text - New value for the property.
      • build

        public Label build()