public static final class ResourcePoolTypes.FilterSpec.Builder extends Object
ResourcePoolTypes.FilterSpec
.Constructor and Description |
---|
ResourcePoolTypes.FilterSpec.Builder()
Constructor with parameters for the required properties of
ResourcePoolTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
ResourcePoolTypes.FilterSpec |
build() |
ResourcePoolTypes.FilterSpec.Builder |
setClusters(Set<String> clusters)
Clusters that must contain the resource pool for the resource pool to match the
filter.
|
ResourcePoolTypes.FilterSpec.Builder |
setDatacenters(Set<String> datacenters)
Datacenters that must contain the resource pool for the resource pool to match
the filter.
|
ResourcePoolTypes.FilterSpec.Builder |
setHosts(Set<String> hosts)
Hosts that must contain the resource pool for the resource pool to match the
filter.
|
ResourcePoolTypes.FilterSpec.Builder |
setNames(Set<String> names)
Names that resource pools must have to match the filter (see
ResourcePoolTypes.Info.getName() ). |
ResourcePoolTypes.FilterSpec.Builder |
setParentResourcePools(Set<String> parentResourcePools)
Resource pools that must contain the resource pool for the resource pool to
match the filter.
|
ResourcePoolTypes.FilterSpec.Builder |
setResourcePools(Set<String> resourcePools)
Identifiers of resource pools that can match the filter.
|
public ResourcePoolTypes.FilterSpec.Builder()
ResourcePoolTypes.FilterSpec
.public ResourcePoolTypes.FilterSpec.Builder setResourcePools(Set<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(Set<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(Set<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(Set<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(Set<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(Set<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()
Copyright © 2016. All Rights Reserved.