public abstract static class TransferRequestData.TransferRequestBuilder<T extends TransferRequestData.TransferRequestBuilder<T>>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
bandwidth |
protected int |
blockSize |
protected java.nio.file.Path |
localPath |
protected int |
mode |
protected int |
numEncoders |
protected long |
offset |
protected java.lang.String |
remoteFile |
protected long |
size |
protected int |
unitSize |
| Modifier | Constructor and Description |
|---|---|
protected |
TransferRequestBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract TransferRequestData |
build() |
protected abstract T |
self() |
T |
withBandwidth(int bandwidth) |
T |
withBlockSize(int blockSize) |
T |
withLocalPath(java.nio.file.Path localPath) |
T |
withMode(int mode) |
T |
withNumEncoders(int numEncoders) |
T |
withOffset(long offset) |
T |
withRemoteFile(java.lang.String remoteFile) |
T |
withSize(long size) |
T |
withUnitSize(int unitSize) |
protected java.nio.file.Path localPath
protected java.lang.String remoteFile
protected int bandwidth
protected long offset
protected int numEncoders
protected int blockSize
protected int unitSize
protected int mode
protected long size
public T withLocalPath(java.nio.file.Path localPath)
public T withRemoteFile(java.lang.String remoteFile)
public T withBandwidth(int bandwidth)
public T withOffset(long offset)
public T withNumEncoders(int numEncoders)
public T withBlockSize(int blockSize)
public T withUnitSize(int unitSize)
public T withMode(int mode)
public T withSize(long size)
protected abstract T self()
protected abstract TransferRequestData build()