Constructor and Description |
---|
VMWatchDog(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
VMWatchDog |
update()
Updates VMWatchDog object.
|
VMWatchDog |
update(String correlationId)
Updates VMWatchDog object.
|
VMWatchDog |
update(String correlationId,
Boolean async)
Updates VMWatchDog object.
|
VMWatchDog |
update(String correlationId,
Boolean async,
String expect)
Updates VMWatchDog object.
|
getAction, getModel, isSetAction, isSetModel, setAction, setModel
getInstanceType, getTemplate, getVm, getVms, isSetInstanceType, isSetTemplate, isSetVm, isSetVms, setInstanceType, setTemplate, setVm, setVms
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public VMWatchDog(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Response
org.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 Response delete(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
Response
org.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 Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
correlationId
- [any string]
Response
org.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 VMWatchDog update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
watchdog
- WatchDog
[watchdog.action] [watchdog.model]
VMWatchDog
org.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 VMWatchDog update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
watchdog
- WatchDog
[watchdog.action] [watchdog.model]
correlationId
- [any string]
VMWatchDog
org.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 VMWatchDog update(String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
watchdog
- WatchDog
[watchdog.action] [watchdog.model]
correlationId
- [any string]
async
- [true|false]
VMWatchDog
org.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 VMWatchDog update(String correlationId, Boolean async, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
watchdog
- WatchDog
[watchdog.action] [watchdog.model]
correlationId
- [any string]
async
- [true|false]
expect
- [202-accepted]
VMWatchDog
org.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