public class SchedulingPolicy extends SchedulingPolicy
SchedulingPolicy providing relation and functional services
to SchedulingPolicy
.
Constructor and Description |
---|
SchedulingPolicy(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.
|
SchedulingPolicyBalances |
getBalances()
Gets the value of the SchedulingPolicyBalances property.
|
SchedulingPolicyFilters |
getFilters()
Gets the value of the SchedulingPolicyFilters property.
|
SchedulingPolicyWeights |
getWeights()
Gets the value of the SchedulingPolicyWeights property.
|
SchedulingPolicy |
update()
Updates SchedulingPolicy object.
|
SchedulingPolicy |
update(Boolean async)
Updates SchedulingPolicy object.
|
SchedulingPolicy |
update(Boolean async,
String correlationId)
Updates SchedulingPolicy object.
|
SchedulingPolicy |
update(Boolean async,
String correlationId,
String expect)
Updates SchedulingPolicy object.
|
getDefaultPolicy, getLocked, getPolicy, getProperties, getThresholds, isSetDefaultPolicy, isSetLocked, isSetPolicy, isSetProperties, isSetThresholds, setDefaultPolicy, setLocked, setPolicy, setProperties, setThresholds
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 SchedulingPolicy(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic SchedulingPolicyBalances getBalances()
SchedulingPolicyBalances
public SchedulingPolicyFilters getFilters()
SchedulingPolicyFilters
public SchedulingPolicyWeights getWeights()
SchedulingPolicyWeights
public 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 SchedulingPolicy update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
schedulingpolicy
- SchedulingPolicy
[schedulingpolicy.name] [schedulingpolicy.description] [schedulingpolicy.properties.property]
SchedulingPolicy
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 SchedulingPolicy update(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
schedulingpolicy
- SchedulingPolicy
[schedulingpolicy.name] [schedulingpolicy.description] [schedulingpolicy.properties.property]
async
- [true|false]
SchedulingPolicy
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 SchedulingPolicy update(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
schedulingpolicy
- SchedulingPolicy
[schedulingpolicy.name] [schedulingpolicy.description] [schedulingpolicy.properties.property]
async
- [true|false]
correlationId
- [any string]
SchedulingPolicy
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 SchedulingPolicy update(Boolean async, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
schedulingpolicy
- SchedulingPolicy
[schedulingpolicy.name] [schedulingpolicy.description] [schedulingpolicy.properties.property]
async
- [true|false]
correlationId
- [any string]
expect
- [202-accepted]
SchedulingPolicy
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