Package com.vmware.nsx_policy.model
Class ColumnItem.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ColumnItem.Builder
-
- Enclosing class:
- ColumnItem
public static final class ColumnItem.Builder extends java.lang.Object
Builder class forColumnItem
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofColumnItem
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnItem
build()
ColumnItem.Builder
setColumnIdentifier(java.lang.String columnIdentifier)
Identifies the column and used for fetching content upon an user click or drilldown.ColumnItem.Builder
setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any.ColumnItem.Builder
setField(java.lang.String field)
Field from which values of the column will be derived.ColumnItem.Builder
setHidden(java.lang.Boolean hidden)
If set to true, hides the columnColumnItem.Builder
setLabel(Label label)
ColumnItem.Builder
setNavigation(java.lang.String navigation)
Hyperlink of the specified UI page that provides details.ColumnItem.Builder
setRenderConfiguration(java.util.List<RenderConfiguration> renderConfiguration)
Render configuration to be applied, if any.ColumnItem.Builder
setSortAscending(java.lang.Boolean sortAscending)
If true, the value of the column are sorted in ascending order.ColumnItem.Builder
setSortKey(java.lang.String sortKey)
Sorting on column is based on the sort_key.ColumnItem.Builder
setTooltip(java.util.List<Tooltip> tooltip)
Multi-line text to be shown on tooltip while hovering over a cell in the grid.ColumnItem.Builder
setType(java.lang.String type)
Possible values are:ColumnItem.TYPE_STRING
ColumnItem.TYPE_NUMBER
ColumnItem.TYPE_DATE
Data type of the field.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofColumnItem
.
-
-
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.
-
setLabel
public ColumnItem.Builder setLabel(Label label)
- Parameters:
label
- 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.
-
setType
public ColumnItem.Builder setType(java.lang.String type)
Possible values are: Data type of the field.- Parameters:
type
- New value for the property.
-
build
public ColumnItem build()
-
-