public class DataCenterClusterGlusterVolumeGlusterBricks extends CollectionDecorator<GlusterBrick,GlusterBricks,DataCenterClusterGlusterVolumeGlusterBrick>
DataCenterClusterGlusterVolumeGlusterBricks providing relation and functional services
to GlusterBricks
.
Constructor and Description |
---|
DataCenterClusterGlusterVolumeGlusterBricks(HttpProxyBroker proxy,
DataCenterClusterGlusterVolume parent) |
Modifier and Type | Method and Description |
---|---|
DataCenterClusterGlusterVolumeGlusterBrick |
add(GlusterBrick glusterbrick)
Adds GlusterBrick object.
|
DataCenterClusterGlusterVolumeGlusterBrick |
get(UUID id)
Fetches DataCenterClusterGlusterVolumeGlusterBrick object by id.
|
List<DataCenterClusterGlusterVolumeGlusterBrick> |
list()
Lists DataCenterClusterGlusterVolumeGlusterBrick objects.
|
get
public DataCenterClusterGlusterVolumeGlusterBricks(HttpProxyBroker proxy, DataCenterClusterGlusterVolume parent)
proxy
- HttpProxyBrokerparent
- DataCenterClusterGlusterVolumepublic List<DataCenterClusterGlusterVolumeGlusterBrick> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<GlusterBrick,GlusterBricks,DataCenterClusterGlusterVolumeGlusterBrick>
DataCenterClusterGlusterVolumeGlusterBrick
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 DataCenterClusterGlusterVolumeGlusterBrick get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<GlusterBrick,GlusterBricks,DataCenterClusterGlusterVolumeGlusterBrick>
id
- entity idDataCenterClusterGlusterVolumeGlusterBrick
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 DataCenterClusterGlusterVolumeGlusterBrick add(GlusterBrick glusterbrick) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glusterbricks
- GlusterBricks
DataCenterClusterGlusterVolumeGlusterBrick
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