Class Header.Builder

  • Enclosing class:
    Header

    public static final class Header.Builder
    extends java.lang.Object
    Builder class for Header.
    • Constructor Detail

      • Builder

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

      • setCondition

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

        public Header.Builder setSubHeaderWidgets​(java.util.List<WidgetItem> subHeaderWidgets)
        An array of widgets which will appear inside the container header Instead of 'sub_headers' property use this property.
        Parameters:
        subHeaderWidgets - New value for the property.
      • setSubHeaders

        public Header.Builder setSubHeaders​(java.util.List<PropertyItem> subHeaders)
        An array of label-value properties. This field is deprecated instead used 'sub_header_widgets' property to define header widgets.
        Parameters:
        subHeaders - New value for the property.
      • build

        public Header build()