public static final class FolderTypes.FilterSpec.Builder
extends java.lang.Object
FolderTypes.FilterSpec
.Constructor and Description |
---|
FolderTypes.FilterSpec.Builder()
Constructor with parameters for the required properties of
FolderTypes.FilterSpec . |
Modifier and Type | Method and Description |
---|---|
FolderTypes.FilterSpec |
build() |
FolderTypes.FilterSpec.Builder |
setDatacenters(java.util.Set<java.lang.String> datacenters)
Datacenters that must contain the folder for the folder to match the filter.
|
FolderTypes.FilterSpec.Builder |
setFolders(java.util.Set<java.lang.String> folders)
Identifiers of folders that can match the filter.
|
FolderTypes.FilterSpec.Builder |
setNames(java.util.Set<java.lang.String> names)
Names that folders must have to match the filter (see
FolderTypes.Summary.getName() ). |
FolderTypes.FilterSpec.Builder |
setParentFolders(java.util.Set<java.lang.String> parentFolders)
Folders that must contain the folder for the folder to match the filter.
|
FolderTypes.FilterSpec.Builder |
setType(FolderTypes.Type type)
Type that folders must have to match the filter (see
FolderTypes.Summary.getType() ). |
public FolderTypes.FilterSpec.Builder()
FolderTypes.FilterSpec
.public FolderTypes.FilterSpec.Builder setFolders(java.util.Set<java.lang.String> folders)
null
or empty, folders with any identifier 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 FolderTypes.FilterSpec.Builder setNames(java.util.Set<java.lang.String> names)
FolderTypes.Summary.getName()
).
If null
or empty, folders with any name match the filter.names
- New value for the property.public FolderTypes.FilterSpec.Builder setType(FolderTypes.Type type)
FolderTypes.Summary.getType()
).
If null
, folders with any type match the filter.type
- New value for the property.public FolderTypes.FilterSpec.Builder setParentFolders(java.util.Set<java.lang.String> parentFolders)
null
or empty, folder in any folder match the filter.parentFolders
- 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 FolderTypes.FilterSpec.Builder setDatacenters(java.util.Set<java.lang.String> datacenters)
null
or empty, folder 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 FolderTypes.FilterSpec build()