Package com.vmware.nsx_policy.model
Class Tooltip.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Tooltip.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tooltip
build()
Tooltip.Builder
setCondition(java.lang.String condition)
If the condition is met then the tooltip will be applied.Tooltip.Builder
setHeading(java.lang.Boolean heading)
If true, displays tooltip text in boldTooltip.Builder
setText(java.lang.String text)
Text to be shown on tooltip while hovering over UI element.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTooltip
.
-
-
Method Detail
-
setCondition
public Tooltip.Builder setCondition(java.lang.String condition)
If the condition is met then the tooltip will be applied. If no condition is provided, then the tooltip will be applied unconditionally. Examples of expression syntax are provided under 'example_request' section of 'CreateWidgetConfiguration' API.- Parameters:
condition
- New value for the property.
-
setHeading
public Tooltip.Builder setHeading(java.lang.Boolean heading)
If true, displays tooltip text in bold- Parameters:
heading
- New value for the property.
-
setText
public Tooltip.Builder setText(java.lang.String text)
Text to be shown on tooltip while hovering over UI element. The text would be wrapped if it exceeds 80 chars.- Parameters:
text
- New value for the property.
-
build
public Tooltip build()
-
-