Class ColumnItem.Builder

  • Enclosing class:
    ColumnItem

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

      • Builder

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

      • setColumnIdentifier

        public ColumnItem.Builder setColumnIdentifier​(java.lang.String columnIdentifier)
        Identifies the column and used for fetching content upon an user click or drilldown. If column identifier is not provided, the column's data will not participate in searches and drilldowns.
        Parameters:
        columnIdentifier - New value for the property.
      • setDrilldownId

        public ColumnItem.Builder setDrilldownId​(java.lang.String drilldownId)
        Id of drilldown widget, if any. Id should be a valid id of an existing widget.
        Parameters:
        drilldownId - New value for the property.
      • setField

        public ColumnItem.Builder setField​(java.lang.String field)
        Field from which values of the column will be derived.
        Parameters:
        field - New value for the property.
      • setHidden

        public ColumnItem.Builder setHidden​(java.lang.Boolean hidden)
        If set to true, hides the column
        Parameters:
        hidden - New value for the property.
      • setNavigation

        public ColumnItem.Builder setNavigation​(java.lang.String navigation)
        Hyperlink of the specified UI page that provides details. If drilldown_id is provided, then navigation cannot be used.
        Parameters:
        navigation - New value for the property.
      • setRenderConfiguration

        public ColumnItem.Builder setRenderConfiguration​(java.util.List<RenderConfiguration> renderConfiguration)
        Render configuration to be applied, if any.
        Parameters:
        renderConfiguration - New value for the property.
      • setSortAscending

        public ColumnItem.Builder setSortAscending​(java.lang.Boolean sortAscending)
        If true, the value of the column are sorted in ascending order. Otherwise, in descending order.
        Parameters:
        sortAscending - New value for the property.
      • setSortKey

        public ColumnItem.Builder setSortKey​(java.lang.String sortKey)
        Sorting on column is based on the sort_key. sort_key represents the field in the output data on which sort is requested.
        Parameters:
        sortKey - New value for the property.
      • setTooltip

        public ColumnItem.Builder setTooltip​(java.util.List<Tooltip> tooltip)
        Multi-line text to be shown on tooltip while hovering over a cell in the grid.
        Parameters:
        tooltip - New value for the property.