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 ActionResponsedelete(String shareServerId)Deletes a share server.ShareServerget(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:ShareServerServiceLists all share servers.- Specified by:
listin interfaceShareServerService- Returns:
- a list containing all share servers
-
get
public ShareServer get(String shareServerId)
Description copied from interface:ShareServerServiceShows details for a share server.- Specified by:
getin 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:ShareServerServiceDeletes a share server.- Specified by:
deletein interfaceShareServerService- Parameters:
shareServerId- the share server ID- Returns:
- the action response
-
-