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