-
- All Implemented Interfaces:
-
org.veupathdb.lib.s3.s34k.params.RegionRequestParams,org.veupathdb.lib.s3.s34k.params.S3RequestParams
public interface ObjectDownloadParams implements RegionRequestParams
Object download request parameters.
-
-
Method Summary
Modifier and Type Method Description abstract FilegetLocalFile()Required handle on the local file into which the remote object will be downloaded. abstract UnitsetLocalFile(File localFile)Required handle on the local file into which the remote object will be downloaded. abstract Function1<FileObject, Unit>getCallback()Optional callback that will be executed on successful completion of the S3 operation. abstract UnitsetCallback(Function1<FileObject, Unit> callback)Optional callback that will be executed on successful completion of the S3 operation. -
Methods inherited from class org.veupathdb.lib.s3.s34k.params.RegionRequestParams
getRegion, setRegion -
Methods inherited from class org.veupathdb.lib.s3.s34k.params.S3RequestParams
getHeaders, getQueryParams -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getLocalFile
abstract File getLocalFile()
Required handle on the local file into which the remote object will be downloaded.
This file does not need to already exist.
This value must be set or an InvalidRequestConfigError will be thrown when the request is attempted.
-
setLocalFile
abstract Unit setLocalFile(File localFile)
Required handle on the local file into which the remote object will be downloaded.
This file does not need to already exist.
This value must be set or an InvalidRequestConfigError will be thrown when the request is attempted.
-
getCallback
abstract Function1<FileObject, Unit> getCallback()
Optional callback that will be executed on successful completion of the S3 operation.
This callback will be passed an FileObject instance representing the file that was downloaded.
-
setCallback
abstract Unit setCallback(Function1<FileObject, Unit> callback)
Optional callback that will be executed on successful completion of the S3 operation.
This callback will be passed an FileObject instance representing the file that was downloaded.
-
-
-
-