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