Package com.vmware.nsx_policy.model
Class Label.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Label.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Label
build()
Label.Builder
setCondition(java.lang.String condition)
If the condition is met then the label will be applied.Label.Builder
setHover(java.lang.Boolean hover)
If true, displays the label only on hoverLabel.Builder
setIcons(java.util.List<Icon> icons)
Icons to be applied at dashboard for the labelLabel.Builder
setNavigation(java.lang.String navigation)
Hyperlink of the specified UI page that provides details.Label.Builder
setText(java.lang.String text)
Text to be displayed at the label.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLabel
.
-
-
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()
-
-