Package com.vmware.nsx_policy.model
Class DropdownItem.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DropdownItem.Builder
-
- Enclosing class:
- DropdownItem
public static final class DropdownItem.Builder extends java.lang.Object
Builder class forDropdownItem
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDropdownItem
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DropdownItem
build()
DropdownItem.Builder
setAdditionalValue(com.vmware.vapi.bindings.Structure additionalValue)
An additional key-value pair for item to be display in dropdown.DropdownItem.Builder
setDisplayName(java.lang.String displayName)
expression to extract display name to be shown in the drop down.DropdownItem.Builder
setField(java.lang.String field)
An expression that represents the items of the dropdown filter.DropdownItem.Builder
setShortDisplayName(java.lang.String shortDisplayName)
Property value is shown in the drop down input box for a filter.DropdownItem.Builder
setValue(java.lang.String value)
Value of filter inside dropdown filter.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDropdownItem
.
-
-
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.
-
build
public DropdownItem build()
-
-