public class RegionServiceImpl extends BaseOpenStackService implements RegionService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
RegionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Region |
create(Region region)
Create a new region
|
Region |
create(String regionId,
String description,
String parentRegionId)
Create a new region
|
ActionResponse |
delete(String regionId)
Delete a region specified by id
|
Region |
get(String regionId)
Get details for a region specified by id
|
List<? extends Region> |
list()
List regions
|
Region |
update(Region region)
Update a region
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic Region create(Region region)
RegionServicecreate in interface RegionServiceregion - the regionpublic Region create(String regionId, String description, String parentRegionId)
RegionServicecreate in interface RegionServiceregionId - the user-defined region iddescription - the description of the regionparentRegionId - the region id of the parent regionpublic Region get(String regionId)
RegionServiceget in interface RegionServiceregionId - the region idpublic Region update(Region region)
RegionServiceupdate in interface RegionServiceregion - the region set to updatepublic ActionResponse delete(String regionId)
RegionServicedelete in interface RegionServiceregionId - the id of the regionpublic List<? extends Region> list()
RegionServicelist in interface RegionServiceCopyright © 2017. All rights reserved.