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.
|
getApiVersionHeader
delete, deleteWithResponse, get, head, patch, post, put, request
getProvider, getServiceVersion, getXOpenstackRequestId, patchWithResponse, postWithResponse, toList, uri
public ShareNetwork create(ShareNetworkCreate shareNetworkCreate)
create
in interface ShareNetworkService
shareNetworkCreate
- the share network to createpublic List<? extends ShareNetwork> list()
list
in interface ShareNetworkService
public List<? extends ShareNetwork> listDetails()
listDetails
in interface ShareNetworkService
public ShareNetwork get(String shareNetworkId)
get
in interface ShareNetworkService
shareNetworkId
- the share network IDpublic ShareNetwork update(String shareNetworkId, ShareNetworkUpdateOptions shareNetworkUpdateOptions)
update
in interface ShareNetworkService
shareNetworkId
- the share network IDshareNetworkUpdateOptions
- the options to update on the share networkpublic ActionResponse delete(String shareNetworkId)
delete
in interface ShareNetworkService
shareNetworkId
- the share network IDpublic ShareNetwork addSecurityService(String shareNetworkId, String securityServiceId)
addSecurityService
in interface ShareNetworkService
shareNetworkId
- the share network IDsecurityServiceId
- the security service IDpublic ShareNetwork removeSecurityService(String shareNetworkId, String securityServiceId)
removeSecurityService
in interface ShareNetworkService
shareNetworkId
- the share network IDsecurityServiceId
- the security service IDpublic ShareNetworkCreateBuilder shareNetworkCreateBuilder()
shareNetworkCreateBuilder
in interface ShareNetworkService
Copyright © 2017. All rights reserved.