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, uri
public List<? extends VolumeTransfer> list()
BlockVolumeTransferService
list
in interface BlockVolumeTransferService
public List<? extends VolumeTransfer> list(boolean detailed)
BlockVolumeTransferService
list
in interface BlockVolumeTransferService
detailed
- if true all fields are populated otherwise just id, volumeId and namepublic VolumeTransfer get(String transferId)
BlockVolumeTransferService
get
in interface BlockVolumeTransferService
transferId
- the transfer identifierpublic VolumeTransfer create(String volumeId)
BlockVolumeTransferService
create
in interface BlockVolumeTransferService
volumeId
- the identifier of the volume to transferpublic VolumeTransfer create(String volumeId, String name)
BlockVolumeTransferService
create
in interface BlockVolumeTransferService
volumeId
- the identifier of the volume to transfername
- the name of the transfer (optional)public VolumeTransfer accept(String transferId, String authKey)
BlockVolumeTransferService
accept
in interface BlockVolumeTransferService
transferId
- the identifier of the transfer to acceptauthKey
- the auth key of the transferpublic ActionResponse delete(String transferId)
BlockVolumeTransferService
delete
in interface BlockVolumeTransferService
transferId
- the transfer identifier to deleteCopyright © 2017. All rights reserved.