public class DataSourceServiceImpl extends BaseSaharaServices implements DataSourceService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
DataSourceServiceImpl() |
Modifier and Type | Method and Description |
---|---|
DataSource |
create(DataSource datasource)
Create a new data source
|
ActionResponse |
delete(String datasourceId)
Delete the specified data source
|
DataSource |
get(String datasourceId)
Get a data source by ID
|
List<? extends DataSource> |
list()
List all data sources
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends DataSource> list()
list
in interface DataSourceService
public DataSource get(String datasourceId)
get
in interface DataSourceService
datasourceId
- the data source identifierpublic DataSource create(DataSource datasource)
create
in interface DataSourceService
datasource
- the data source to createpublic ActionResponse delete(String datasourceId)
delete
in interface DataSourceService
datasourceId
- the data source identifierCopyright © 2017. All rights reserved.