public class DataCenterIscsiBonds extends CollectionDecorator<IscsiBond,IscsiBonds,DataCenterIscsiBond>
DataCenterIscsiBonds providing relation and functional services
to IscsiBonds.
| Constructor and Description |
|---|
DataCenterIscsiBonds(HttpProxyBroker proxy,
DataCenter parent) |
| Modifier and Type | Method and Description |
|---|---|
DataCenterIscsiBond |
add(IscsiBond iscsibond)
Adds IscsiBond object.
|
DataCenterIscsiBond |
add(IscsiBond iscsibond,
String expect)
Adds IscsiBond object.
|
DataCenterIscsiBond |
get(UUID id)
Fetches DataCenterIscsiBond object by id.
|
DataCenterIscsiBond |
getById(String id)
Fetches DataCenterIscsiBond object by id.
|
List<DataCenterIscsiBond> |
list()
Lists DataCenterIscsiBond objects.
|
getpublic DataCenterIscsiBonds(HttpProxyBroker proxy, DataCenter parent)
proxy - HttpProxyBrokerparent - DataCenterpublic List<DataCenterIscsiBond> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<IscsiBond,IscsiBonds,DataCenterIscsiBond>DataCenterIscsiBondorg.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 DataCenterIscsiBond get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<IscsiBond,IscsiBonds,DataCenterIscsiBond>id - entity idDataCenterIscsiBondorg.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 DataCenterIscsiBond getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<IscsiBond,IscsiBonds,DataCenterIscsiBond>id - entity idDataCenterIscsiBondorg.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 DataCenterIscsiBond add(IscsiBond iscsibond) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
iscsibond - IscsiBond
iscsibond.name
DataCenterIscsiBondorg.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 DataCenterIscsiBond add(IscsiBond iscsibond, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
iscsibond - IscsiBond
iscsibond.name
expect -
[201-created]
DataCenterIscsiBondorg.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