Class DBFlavorServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.trove.internal.BaseTroveServices
-
- org.openstack4j.openstack.trove.internal.DBFlavorServiceImpl
-
- All Implemented Interfaces:
InstanceFlavorService
public class DBFlavorServiceImpl extends BaseTroveServices implements InstanceFlavorService
Flavor API Implementation- Author:
- sumit gandhi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description DBFlavorServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Flavorget(String id)Get the instance flavor specified by IDList<? extends Flavor>list()Returns all the available database instance flavors-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends Flavor> list()
Returns all the available database instance flavors- Specified by:
listin interfaceInstanceFlavorService- Returns:
- the list of available flavors
-
get
public Flavor get(String id)
Get the instance flavor specified by ID- Specified by:
getin interfaceInstanceFlavorService- Returns:
- the flavor or null if not found
-
-