Class PropertyItem.Builder

  • Enclosing class:
    PropertyItem

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

      • Builder

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

      • setCondition

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

        public PropertyItem.Builder setDrilldownId​(java.lang.String drilldownId)
        Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget.
        Parameters:
        drilldownId - New value for the property.
      • setField

        public PropertyItem.Builder setField​(java.lang.String field)
        Represents field value of the property.
        Parameters:
        field - New value for the property.
      • setHeading

        public PropertyItem.Builder setHeading​(java.lang.Boolean heading)
        Set to true if the field is a heading. Default is false.
        Parameters:
        heading - New value for the property.
      • setLabelValueSeparator

        public PropertyItem.Builder setLabelValueSeparator​(java.lang.String labelValueSeparator)
        Label value separator used between label and value. It can be any separator like \":\" or \"-\".
        Parameters:
        labelValueSeparator - New value for the property.
      • setNavigation

        public PropertyItem.Builder setNavigation​(java.lang.String navigation)
        Hyperlink of the specified UI page that provides details. This will be linked with value of the property.
        Parameters:
        navigation - New value for the property.
      • setRenderConfiguration

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

        public PropertyItem.Builder setRowspan​(java.lang.Long rowspan)
        Represent the vertical span of the widget / container format: int32
        Parameters:
        rowspan - New value for the property.
      • setSeparator

        public PropertyItem.Builder setSeparator​(java.lang.Boolean separator)
        If true, separates this property in a widget.
        Parameters:
        separator - New value for the property.
      • setSpan

        public PropertyItem.Builder setSpan​(java.lang.Long span)
        Represent the horizontal span of the widget / container. format: int32
        Parameters:
        span - New value for the property.
      • setStyle

        public PropertyItem.Builder setStyle​(com.vmware.vapi.bindings.Structure style)
        A style object applicable for the property item. It could be the any padding, margin style sheet applicable to the property item. A 'style' property is supported in case of layout 'AUTO' only.
        Parameters:
        style - New value for the property.