public class BlockVolumeTransferServiceImpl extends BaseBlockStorageServices implements BlockVolumeTransferService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
BlockVolumeTransferServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
VolumeTransfer |
accept(String transferId,
String authKey)
Accepts a pending volume transfer
|
VolumeTransfer |
create(String volumeId)
Creates a new Volume Transfer
|
VolumeTransfer |
create(String volumeId,
String name)
Creates a new Volume Transfer
|
ActionResponse |
delete(String transferId)
Deletes a specific transfer
|
VolumeTransfer |
get(String transferId)
Gets details about a specific transfer
|
List<? extends VolumeTransfer> |
list()
Gets ALL volume transfers in detailed form
|
List<? extends VolumeTransfer> |
list(boolean detailed)
Gets ALL volume transfers
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends VolumeTransfer> list()
BlockVolumeTransferServicelist in interface BlockVolumeTransferServicepublic List<? extends VolumeTransfer> list(boolean detailed)
BlockVolumeTransferServicelist in interface BlockVolumeTransferServicedetailed - if true all fields are populated otherwise just id, volumeId and namepublic VolumeTransfer get(String transferId)
BlockVolumeTransferServiceget in interface BlockVolumeTransferServicetransferId - the transfer identifierpublic VolumeTransfer create(String volumeId)
BlockVolumeTransferServicecreate in interface BlockVolumeTransferServicevolumeId - the identifier of the volume to transferpublic VolumeTransfer create(String volumeId, String name)
BlockVolumeTransferServicecreate in interface BlockVolumeTransferServicevolumeId - the identifier of the volume to transfername - the name of the transfer (optional)public VolumeTransfer accept(String transferId, String authKey)
BlockVolumeTransferServiceaccept in interface BlockVolumeTransferServicetransferId - the identifier of the transfer to acceptauthKey - the auth key of the transferpublic ActionResponse delete(String transferId)
BlockVolumeTransferServicedelete in interface BlockVolumeTransferServicetransferId - the transfer identifier to deleteCopyright © 2017. All rights reserved.