public class DataCenterClusterCpuProfiles extends CollectionDecorator<CpuProfile,CpuProfiles,DataCenterClusterCpuProfile>
DataCenterClusterCpuProfiles providing relation and functional services
to CpuProfiles.
| Constructor and Description |
|---|
DataCenterClusterCpuProfiles(HttpProxyBroker proxy,
DataCenterCluster parent) |
| Modifier and Type | Method and Description |
|---|---|
DataCenterClusterCpuProfile |
add(CpuProfile cpuprofile)
Adds CpuProfile object.
|
DataCenterClusterCpuProfile |
get(UUID id)
Fetches DataCenterClusterCpuProfile object by id.
|
DataCenterClusterCpuProfile |
getById(String id)
Fetches DataCenterClusterCpuProfile object by id.
|
List<DataCenterClusterCpuProfile> |
list()
Lists DataCenterClusterCpuProfile objects.
|
getpublic DataCenterClusterCpuProfiles(HttpProxyBroker proxy, DataCenterCluster parent)
proxy - HttpProxyBrokerparent - DataCenterClusterpublic List<DataCenterClusterCpuProfile> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<CpuProfile,CpuProfiles,DataCenterClusterCpuProfile>DataCenterClusterCpuProfileorg.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 DataCenterClusterCpuProfile get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<CpuProfile,CpuProfiles,DataCenterClusterCpuProfile>id - entity idDataCenterClusterCpuProfileorg.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 DataCenterClusterCpuProfile getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<CpuProfile,CpuProfiles,DataCenterClusterCpuProfile>id - entity idDataCenterClusterCpuProfileorg.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 DataCenterClusterCpuProfile add(CpuProfile cpuprofile) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
cpuprofile - CpuProfileDataCenterClusterCpuProfileorg.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