public static final class ResourcePoolTypes.FilterSpec.Builder
extends java.lang.Object
ResourcePoolTypes.FilterSpec.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ResourcePoolTypes.FilterSpec. |
| Modifier and Type | Method and Description |
|---|---|
ResourcePoolTypes.FilterSpec |
build() |
ResourcePoolTypes.FilterSpec.Builder |
setClusters(java.util.Set<java.lang.String> clusters)
Clusters that must contain the resource pool for the resource pool to match the
filter.
|
ResourcePoolTypes.FilterSpec.Builder |
setDatacenters(java.util.Set<java.lang.String> datacenters)
Datacenters that must contain the resource pool for the resource pool to match
the filter.
|
ResourcePoolTypes.FilterSpec.Builder |
setHosts(java.util.Set<java.lang.String> hosts)
Hosts that must contain the resource pool for the resource pool to match the
filter.
|
ResourcePoolTypes.FilterSpec.Builder |
setNames(java.util.Set<java.lang.String> names)
Names that resource pools must have to match the filter (see
ResourcePoolTypes.Info.getName()). |
ResourcePoolTypes.FilterSpec.Builder |
setParentResourcePools(java.util.Set<java.lang.String> parentResourcePools)
Resource pools that must contain the resource pool for the resource pool to
match the filter.
|
ResourcePoolTypes.FilterSpec.Builder |
setResourcePools(java.util.Set<java.lang.String> resourcePools)
Identifiers of resource pools that can match the filter.
|
public Builder()
ResourcePoolTypes.FilterSpec.public ResourcePoolTypes.FilterSpec.Builder setResourcePools(java.util.Set<java.lang.String> resourcePools)
null or empty, resource pools with any identifier match the filter.resourcePools - 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: ResourcePool. When methods
return a value of this class as a return value, the property will contain
identifiers for the resource type: ResourcePool.public ResourcePoolTypes.FilterSpec.Builder setNames(java.util.Set<java.lang.String> names)
ResourcePoolTypes.Info.getName()).
If null or empty, resource pools with any name match the filter.names - New value for the property.public ResourcePoolTypes.FilterSpec.Builder setParentResourcePools(java.util.Set<java.lang.String> parentResourcePools)
null or empty, resource pools in any resource pool match the filter.parentResourcePools - 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: ResourcePool. When methods
return a value of this class as a return value, the property will contain
identifiers for the resource type: ResourcePool.public ResourcePoolTypes.FilterSpec.Builder setDatacenters(java.util.Set<java.lang.String> datacenters)
null or empty, resource pools in any datacenter match the filter.datacenters - 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: Datacenter. When methods
return a value of this class as a return value, the property will contain
identifiers for the resource type: Datacenter.public ResourcePoolTypes.FilterSpec.Builder setHosts(java.util.Set<java.lang.String> hosts)
null or empty, resource pools in any host match the filter.hosts - 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: HostSystem. When methods
return a value of this class as a return value, the property will contain
identifiers for the resource type: HostSystem.public ResourcePoolTypes.FilterSpec.Builder setClusters(java.util.Set<java.lang.String> clusters)
null or empty, resource pools in any cluster match the filter.clusters - 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: ClusterComputeResource. When
methods return a value of this class as a return value, the property will
contain identifiers for the resource type: ClusterComputeResource.public ResourcePoolTypes.FilterSpec build()