public class ShareNetworkServiceImpl extends BaseShareServices implements ShareNetworkService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
ShareNetworkServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ShareNetwork |
addSecurityService(String shareNetworkId,
String securityServiceId)
Adds a security service to a share network.
|
ShareNetwork |
create(ShareNetworkCreate shareNetworkCreate)
Creates a share network.
|
ActionResponse |
delete(String shareNetworkId)
Deletes a share network.
|
ShareNetwork |
get(String shareNetworkId)
Shows details for a share network.
|
List<? extends ShareNetwork> |
list()
Lists all share networks.
|
List<? extends ShareNetwork> |
listDetails()
Lists all share networks with details.
|
ShareNetwork |
removeSecurityService(String shareNetworkId,
String securityServiceId)
Removes a security service from a share network.
|
ShareNetworkCreateBuilder |
shareNetworkCreateBuilder() |
ShareNetwork |
update(String shareNetworkId,
ShareNetworkUpdateOptions shareNetworkUpdateOptions)
Updates a share network.
|
getApiVersionHeaderdelete, deleteWithResponse, get, head, patch, post, put, requestgetProvider, getServiceVersion, getXOpenstackRequestId, patchWithResponse, postWithResponse, toList, uripublic ShareNetwork create(ShareNetworkCreate shareNetworkCreate)
create in interface ShareNetworkServiceshareNetworkCreate - the share network to createpublic List<? extends ShareNetwork> list()
list in interface ShareNetworkServicepublic List<? extends ShareNetwork> listDetails()
listDetails in interface ShareNetworkServicepublic ShareNetwork get(String shareNetworkId)
get in interface ShareNetworkServiceshareNetworkId - the share network IDpublic ShareNetwork update(String shareNetworkId, ShareNetworkUpdateOptions shareNetworkUpdateOptions)
update in interface ShareNetworkServiceshareNetworkId - the share network IDshareNetworkUpdateOptions - the options to update on the share networkpublic ActionResponse delete(String shareNetworkId)
delete in interface ShareNetworkServiceshareNetworkId - the share network IDpublic ShareNetwork addSecurityService(String shareNetworkId, String securityServiceId)
addSecurityService in interface ShareNetworkServiceshareNetworkId - the share network IDsecurityServiceId - the security service IDpublic ShareNetwork removeSecurityService(String shareNetworkId, String securityServiceId)
removeSecurityService in interface ShareNetworkServiceshareNetworkId - the share network IDsecurityServiceId - the security service IDpublic ShareNetworkCreateBuilder shareNetworkCreateBuilder()
shareNetworkCreateBuilder in interface ShareNetworkServiceCopyright © 2017. All rights reserved.