public static final class ClusterTypes.FilterSpec.Builder extends Object
ClusterTypes.FilterSpec.| Constructor and Description |
|---|
ClusterTypes.FilterSpec.Builder()
Constructor with parameters for the required properties of
ClusterTypes.FilterSpec. |
| Modifier and Type | Method and Description |
|---|---|
ClusterTypes.FilterSpec |
build() |
ClusterTypes.FilterSpec.Builder |
setClusters(Set<String> clusters)
Identifiers of clusters that can match the filter.
|
ClusterTypes.FilterSpec.Builder |
setDatacenters(Set<String> datacenters)
Datacenters that must contain the cluster for the cluster to match the filter.
|
ClusterTypes.FilterSpec.Builder |
setFolders(Set<String> folders)
Folders that must contain the cluster for the cluster to match the filter.
|
ClusterTypes.FilterSpec.Builder |
setNames(Set<String> names)
Names that clusters must have to match the filter (see
ClusterTypes.Info.getName()). |
public ClusterTypes.FilterSpec.Builder()
ClusterTypes.FilterSpec.public ClusterTypes.FilterSpec.Builder setClusters(Set<String> clusters)
null or empty, clusters with any identifier 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 ClusterTypes.FilterSpec.Builder setNames(Set<String> names)
ClusterTypes.Info.getName()).
If null or empty, clusters with any name match the filter.names - New value for the property.public ClusterTypes.FilterSpec.Builder setFolders(Set<String> folders)
null or empty, clusters in any folder match the filter.folders - 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: Folder. When methods return a
value of this class as a return value, the property will contain identifiers for
the resource type: Folder.public ClusterTypes.FilterSpec.Builder setDatacenters(Set<String> datacenters)
null or empty, clusters 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 ClusterTypes.FilterSpec build()
Copyright © 2016. All Rights Reserved.