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