Package com.qiniu.qvs
Class NameSpaceManager
- java.lang.Object
-
- com.qiniu.qvs.NameSpaceManager
-
public class NameSpaceManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NameSpaceManager(Auth auth)NameSpaceManager(Auth auth, java.lang.String apiServer)NameSpaceManager(Auth auth, java.lang.String apiServer, Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponsecreateNameSpace(NameSpace nameSpace)ResponsedeleteNameSpace(java.lang.String namespaceId)ResponsedisableNameSpace(java.lang.String namespaceId)ResponseenableNameSpace(java.lang.String namespaceId)ResponselistNameSpace(int offset, int line, java.lang.String sortBy)ResponsequeryNameSpace(java.lang.String namespaceId)ResponseupdateNameSpace(java.lang.String namespaceId, PatchOperation[] patchOperation)
-
-
-
Method Detail
-
createNameSpace
public Response createNameSpace(NameSpace nameSpace) throws QiniuException
- Throws:
QiniuException
-
deleteNameSpace
public Response deleteNameSpace(java.lang.String namespaceId) throws QiniuException
- Throws:
QiniuException
-
updateNameSpace
public Response updateNameSpace(java.lang.String namespaceId, PatchOperation[] patchOperation) throws QiniuException
- Throws:
QiniuException
-
queryNameSpace
public Response queryNameSpace(java.lang.String namespaceId) throws QiniuException
- Throws:
QiniuException
-
listNameSpace
public Response listNameSpace(int offset, int line, java.lang.String sortBy) throws QiniuException
- Throws:
QiniuException
-
disableNameSpace
public Response disableNameSpace(java.lang.String namespaceId) throws QiniuException
- Throws:
QiniuException
-
enableNameSpace
public Response enableNameSpace(java.lang.String namespaceId) throws QiniuException
- Throws:
QiniuException
-
-