public class DataCenterClusterNetworks extends CollectionDecorator<Network,Networks,DataCenterClusterNetwork>
DataCenterClusterNetworks providing relation and functional services
to Networks.
| Constructor and Description |
|---|
DataCenterClusterNetworks(HttpProxyBroker proxy,
DataCenterCluster parent) |
| Modifier and Type | Method and Description |
|---|---|
DataCenterClusterNetwork |
add(Network network)
Adds Network object.
|
DataCenterClusterNetwork |
add(Network network,
String expect)
Adds Network object.
|
DataCenterClusterNetwork |
add(Network network,
String expect,
String correlationId)
Adds Network object.
|
DataCenterClusterNetwork |
get(UUID id)
Fetches DataCenterClusterNetwork object by id.
|
DataCenterClusterNetwork |
getById(String id)
Fetches DataCenterClusterNetwork object by id.
|
List<DataCenterClusterNetwork> |
list()
Lists DataCenterClusterNetwork objects.
|
List<DataCenterClusterNetwork> |
list(Integer max)
Lists DataCenterClusterNetwork objects.
|
getpublic DataCenterClusterNetworks(HttpProxyBroker proxy, DataCenterCluster parent)
proxy - HttpProxyBrokerparent - DataCenterClusterpublic List<DataCenterClusterNetwork> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Network,Networks,DataCenterClusterNetwork>DataCenterClusterNetworkorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterClusterNetwork get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Network,Networks,DataCenterClusterNetwork>id - entity idDataCenterClusterNetworkorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterClusterNetwork getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Network,Networks,DataCenterClusterNetwork>id - entity idDataCenterClusterNetworkorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public List<DataCenterClusterNetwork> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
DataCenterClusterNetworkorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterClusterNetwork add(Network network) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
network - Network
network.id|name
[network.usages.usage]
DataCenterClusterNetworkorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterClusterNetwork add(Network network, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
network - Network
network.id|name
[network.usages.usage]
expect -
[201-created]
DataCenterClusterNetworkorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterClusterNetwork add(Network network, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
network - Network
network.id|name
[network.usages.usage]
expect -
[201-created]
correlationId -
[any string]
DataCenterClusterNetworkorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0