Class DropdownItem.Builder

  • Enclosing class:
    DropdownItem

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

      • Builder

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

      • setAdditionalValue

        public DropdownItem.Builder setAdditionalValue​(com.vmware.vapi.bindings.Structure additionalValue)
        An additional key-value pair for item to be display in dropdown.
        Parameters:
        additionalValue - New value for the property.
      • setDisplayName

        public DropdownItem.Builder setDisplayName​(java.lang.String displayName)
        expression to extract display name to be shown in the drop down.
        Parameters:
        displayName - New value for the property.
      • setField

        public DropdownItem.Builder setField​(java.lang.String field)
        An expression that represents the items of the dropdown filter.
        Parameters:
        field - New value for the property.
      • setShortDisplayName

        public DropdownItem.Builder setShortDisplayName​(java.lang.String shortDisplayName)
        Property value is shown in the drop down input box for a filter. If the value is not provided 'display_name' property value is used.
        Parameters:
        shortDisplayName - New value for the property.
      • setValue

        public DropdownItem.Builder setValue​(java.lang.String value)
        Value of filter inside dropdown filter.
        Parameters:
        value - New value for the property.