public class DataCenterClusterAffinityGroups extends CollectionDecorator<AffinityGroup,AffinityGroups,DataCenterClusterAffinityGroup>
DataCenterClusterAffinityGroups providing relation and functional services
to AffinityGroups.
| Constructor and Description |
|---|
DataCenterClusterAffinityGroups(HttpProxyBroker proxy,
DataCenterCluster parent) |
| Modifier and Type | Method and Description |
|---|---|
DataCenterClusterAffinityGroup |
add(AffinityGroup affinitygroup)
Adds AffinityGroup object.
|
DataCenterClusterAffinityGroup |
get(UUID id)
Fetches DataCenterClusterAffinityGroup object by id.
|
DataCenterClusterAffinityGroup |
getById(String id)
Fetches DataCenterClusterAffinityGroup object by id.
|
List<DataCenterClusterAffinityGroup> |
list()
Lists DataCenterClusterAffinityGroup objects.
|
getpublic DataCenterClusterAffinityGroups(HttpProxyBroker proxy, DataCenterCluster parent)
proxy - HttpProxyBrokerparent - DataCenterClusterpublic List<DataCenterClusterAffinityGroup> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<AffinityGroup,AffinityGroups,DataCenterClusterAffinityGroup>DataCenterClusterAffinityGrouporg.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 DataCenterClusterAffinityGroup get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<AffinityGroup,AffinityGroups,DataCenterClusterAffinityGroup>id - entity idDataCenterClusterAffinityGrouporg.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 DataCenterClusterAffinityGroup getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<AffinityGroup,AffinityGroups,DataCenterClusterAffinityGroup>id - entity idDataCenterClusterAffinityGrouporg.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 DataCenterClusterAffinityGroup add(AffinityGroup affinitygroup) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
affinitygroup - AffinityGroupDataCenterClusterAffinityGrouporg.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