Class ShareServerServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.internal.MicroVersionedOpenStackService
-
- org.openstack4j.openstack.manila.internal.BaseShareServices
-
- org.openstack4j.openstack.manila.internal.ShareServerServiceImpl
-
- All Implemented Interfaces:
ShareServerService
,RestService
public class ShareServerServiceImpl extends BaseShareServices implements ShareServerService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description ShareServerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionResponse
delete(String shareServerId)
Deletes a share server.ShareServer
get(String shareServerId)
Shows details for a share server.List<? extends ShareServer>
list()
Lists all share servers.-
Methods inherited from class org.openstack4j.openstack.manila.internal.BaseShareServices
getApiVersionHeader
-
Methods inherited from class org.openstack4j.openstack.internal.MicroVersionedOpenStackService
delete, deleteWithResponse, get, head, patch, post, put, request
-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, patchWithResponse, postWithResponse, putWithResponse, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends ShareServer> list()
Description copied from interface:ShareServerService
Lists all share servers.- Specified by:
list
in interfaceShareServerService
- Returns:
- a list containing all share servers
-
get
public ShareServer get(String shareServerId)
Description copied from interface:ShareServerService
Shows details for a share server.- Specified by:
get
in interfaceShareServerService
- Parameters:
shareServerId
- the share server ID- Returns:
- the share server or null if not found
-
delete
public ActionResponse delete(String shareServerId)
Description copied from interface:ShareServerService
Deletes a share server.- Specified by:
delete
in interfaceShareServerService
- Parameters:
shareServerId
- the share server ID- Returns:
- the action response
-
-