public class DataCenterNetworkVnicProfiles extends CollectionDecorator<VnicProfile,VnicProfiles,DataCenterNetworkVnicProfile>
DataCenterNetworkVnicProfiles providing relation and functional services
to VnicProfiles
.
Constructor and Description |
---|
DataCenterNetworkVnicProfiles(HttpProxyBroker proxy,
DataCenterNetwork parent) |
Modifier and Type | Method and Description |
---|---|
DataCenterNetworkVnicProfile |
add(VnicProfile vnicprofile)
Adds VnicProfile object.
|
DataCenterNetworkVnicProfile |
get(UUID id)
Fetches DataCenterNetworkVnicProfile object by id.
|
DataCenterNetworkVnicProfile |
getById(String id)
Fetches DataCenterNetworkVnicProfile object by id.
|
List<DataCenterNetworkVnicProfile> |
list()
Lists DataCenterNetworkVnicProfile objects.
|
List<DataCenterNetworkVnicProfile> |
list(Integer max)
Lists DataCenterNetworkVnicProfile objects.
|
get
public DataCenterNetworkVnicProfiles(HttpProxyBroker proxy, DataCenterNetwork parent)
proxy
- HttpProxyBrokerparent
- DataCenterNetworkpublic List<DataCenterNetworkVnicProfile> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<VnicProfile,VnicProfiles,DataCenterNetworkVnicProfile>
DataCenterNetworkVnicProfile
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 DataCenterNetworkVnicProfile get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<VnicProfile,VnicProfiles,DataCenterNetworkVnicProfile>
id
- entity idDataCenterNetworkVnicProfile
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 DataCenterNetworkVnicProfile getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<VnicProfile,VnicProfiles,DataCenterNetworkVnicProfile>
id
- entity idDataCenterNetworkVnicProfile
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 DataCenterNetworkVnicProfile add(VnicProfile vnicprofile) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vnicprofile
- VnicProfile
DataCenterNetworkVnicProfile
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 List<DataCenterNetworkVnicProfile> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
DataCenterNetworkVnicProfile
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