public static final class AddOnsTypes.FilterSpec.Builder
extends java.lang.Object
AddOnsTypes.FilterSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
AddOnsTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
AddOnsTypes.FilterSpec |
build() |
AddOnsTypes.FilterSpec.Builder |
setMinVersion(java.lang.String minVersion)
Minimum version of an add-on that can match the filter.
|
AddOnsTypes.FilterSpec.Builder |
setNames(java.util.Set<java.lang.String> names)
Names that an add-on must have to match the filter.
|
AddOnsTypes.FilterSpec.Builder |
setVendors(java.util.Set<java.lang.String> vendors)
Vendors that an add-on must have to match the filter.
|
AddOnsTypes.FilterSpec.Builder |
setVersions(java.util.Set<java.lang.String> versions)
Versions that an add-on must have to match the filter.
|
public Builder()
AddOnsTypes.FilterSpec
.public AddOnsTypes.FilterSpec.Builder setVendors(java.util.Set<java.lang.String> vendors)
null
or empty, add-ons from any vendor will match the filter.vendors
- New value for the property.public AddOnsTypes.FilterSpec.Builder setNames(java.util.Set<java.lang.String> names)
null
or empty, add-ons with any name will match the filter.names
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: com.vmware.esx.settings.add_on
. When methods return a value of this class as a
return value, the property will contain identifiers for the resource type:
com.vmware.esx.settings.add_on
.public AddOnsTypes.FilterSpec.Builder setVersions(java.util.Set<java.lang.String> versions)
null
or empty, add-ons with any version will match the filter.versions
- New value for the property.public AddOnsTypes.FilterSpec.Builder setMinVersion(java.lang.String minVersion)
Set
, only OEM add-ons with version greater than or equal to
this will be returned.minVersion
- New value for the property.public AddOnsTypes.FilterSpec build()