public static final class ComponentsTypes.FilterSpec.Builder
extends java.lang.Object
ComponentsTypes.FilterSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ComponentsTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
ComponentsTypes.FilterSpec |
build() |
ComponentsTypes.FilterSpec.Builder |
setBundleTypes(java.util.Set<ComponentsTypes.ComponentBundleType> bundleTypes)
Component bundle types that a component must have to match the filter.
|
ComponentsTypes.FilterSpec.Builder |
setMinVersion(java.lang.String minVersion)
Minimum version of the component that can match the filter.
|
ComponentsTypes.FilterSpec.Builder |
setNames(java.util.Set<java.lang.String> names)
Names that a component must have to match the filter.
|
ComponentsTypes.FilterSpec.Builder |
setVendors(java.util.Set<java.lang.String> vendors)
Vendors that a component must have to match the filter.
|
ComponentsTypes.FilterSpec.Builder |
setVersions(java.util.Set<java.lang.String> versions)
Versions that a component must have to match the filter.
|
public Builder()
ComponentsTypes.FilterSpec
.public ComponentsTypes.FilterSpec.Builder setVendors(java.util.Set<java.lang.String> vendors)
null
or empty, components with any vendor name match the filter.vendors
- New value for the property.public ComponentsTypes.FilterSpec.Builder setNames(java.util.Set<java.lang.String> names)
null
or empty, components 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.component
. 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.component
.public ComponentsTypes.FilterSpec.Builder setVersions(java.util.Set<java.lang.String> versions)
null
or empty, components with any version will match the filter.versions
- New value for the property.public ComponentsTypes.FilterSpec.Builder setMinVersion(java.lang.String minVersion)
Set
, only components with version greater than or equal to
the given version match the filter.minVersion
- New value for the property.public ComponentsTypes.FilterSpec.Builder setBundleTypes(java.util.Set<ComponentsTypes.ComponentBundleType> bundleTypes)
null
or empty, all components will match the filter.bundleTypes
- New value for the property.public ComponentsTypes.FilterSpec build()