public static final class DatastoreTypes.FilterSpec.Builder
extends java.lang.Object
DatastoreTypes.FilterSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
DatastoreTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
DatastoreTypes.FilterSpec |
build() |
DatastoreTypes.FilterSpec.Builder |
setDatacenters(java.util.Set<java.lang.String> datacenters)
Datacenters that must contain the datastore for the datastore to match the
filter.
|
DatastoreTypes.FilterSpec.Builder |
setDatastores(java.util.Set<java.lang.String> datastores)
Identifiers of datastores that can match the filter.
|
DatastoreTypes.FilterSpec.Builder |
setFolders(java.util.Set<java.lang.String> folders)
Folders that must contain the datastore for the datastore to match the filter.
|
DatastoreTypes.FilterSpec.Builder |
setNames(java.util.Set<java.lang.String> names)
Names that datastores must have to match the filter (see
DatastoreTypes.Info.getName() ). |
DatastoreTypes.FilterSpec.Builder |
setTypes(java.util.Set<DatastoreTypes.Type> types)
Types that datastores must have to match the filter (see
DatastoreTypes.Summary.getType() ). |
public Builder()
DatastoreTypes.FilterSpec
.public DatastoreTypes.FilterSpec.Builder setDatastores(java.util.Set<java.lang.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(java.util.Set<java.lang.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(java.util.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(java.util.Set<java.lang.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(java.util.Set<java.lang.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()