public class ClusterCpuProfiles extends CollectionDecorator<CpuProfile,CpuProfiles,ClusterCpuProfile>
ClusterCpuProfiles providing relation and functional services
to CpuProfiles.
| Constructor and Description |
|---|
ClusterCpuProfiles(HttpProxyBroker proxy,
Cluster parent) |
| Modifier and Type | Method and Description |
|---|---|
ClusterCpuProfile |
add(CpuProfile cpuprofile)
Adds CpuProfile object.
|
ClusterCpuProfile |
add(CpuProfile cpuprofile,
String expect)
Adds CpuProfile object.
|
ClusterCpuProfile |
add(CpuProfile cpuprofile,
String expect,
String correlationId)
Adds CpuProfile object.
|
ClusterCpuProfile |
get(UUID id)
Fetches ClusterCpuProfile object by id.
|
ClusterCpuProfile |
getById(String id)
Fetches ClusterCpuProfile object by id.
|
List<ClusterCpuProfile> |
list()
Lists ClusterCpuProfile objects.
|
List<ClusterCpuProfile> |
list(Integer max)
Lists ClusterCpuProfile objects.
|
getpublic ClusterCpuProfiles(HttpProxyBroker proxy, Cluster parent)
proxy - HttpProxyBrokerparent - Clusterpublic List<ClusterCpuProfile> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<CpuProfile,CpuProfiles,ClusterCpuProfile>ClusterCpuProfileorg.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 ClusterCpuProfile get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<CpuProfile,CpuProfiles,ClusterCpuProfile>id - entity idClusterCpuProfileorg.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 ClusterCpuProfile getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<CpuProfile,CpuProfiles,ClusterCpuProfile>id - entity idClusterCpuProfileorg.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<ClusterCpuProfile> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
ClusterCpuProfileorg.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 ClusterCpuProfile add(CpuProfile cpuprofile) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
cpuprofile - CpuProfile
cpuprofile.name
[cpuprofile.description]
[cpuprofile.qos.id]
ClusterCpuProfileorg.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 ClusterCpuProfile add(CpuProfile cpuprofile, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
cpuprofile - CpuProfile
cpuprofile.name
[cpuprofile.description]
[cpuprofile.qos.id]
expect -
[201-created]
ClusterCpuProfileorg.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 ClusterCpuProfile add(CpuProfile cpuprofile, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
cpuprofile - CpuProfile
cpuprofile.name
[cpuprofile.description]
[cpuprofile.qos.id]
expect -
[201-created]
correlationId -
[any string]
ClusterCpuProfileorg.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