-
- All Implemented Interfaces:
-
org.veupathdb.lib.s3.s34k.params.RegionRequestParams,org.veupathdb.lib.s3.s34k.params.S3RequestParams,org.veupathdb.lib.s3.s34k.params.object.ObjectPutParams,org.veupathdb.lib.s3.s34k.params.object.ObjectWriteParams
public interface StreamingObjectPutParams implements ObjectPutParams
Object put via InputStream operation parameters.
-
-
Method Summary
Modifier and Type Method Description abstract InputStreamgetStream()Required InputStream over the data that will be written to the object in the S3 store. abstract UnitsetStream(InputStream stream)Required InputStream over the data that will be written to the object in the S3 store. abstract LonggetLength()Size of the object being written to the S3 store. abstract UnitsetLength(Long length)Size of the object being written to the S3 store. abstract IntegergetPartSize()Max chunk size to send in a single request to the S3 store. abstract UnitsetPartSize(Integer partSize)Max chunk size to send in a single request to the S3 store. -
Methods inherited from class org.veupathdb.lib.s3.s34k.params.object.ObjectPutParams
getCallback, getContentType, setCallback, setContentType -
Methods inherited from class org.veupathdb.lib.s3.s34k.params.object.ObjectWriteParams
getTags -
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
-
getStream
abstract InputStream getStream()
Required InputStream over the data that will be written to the object in the S3 store.
If this value is not set when attempting to perform the S3 operation, an InvalidRequestConfigError will be thrown.
-
setStream
abstract Unit setStream(InputStream stream)
Required InputStream over the data that will be written to the object in the S3 store.
If this value is not set when attempting to perform the S3 operation, an InvalidRequestConfigError will be thrown.
-
getLength
abstract Long getLength()
Size of the object being written to the S3 store.
If this size is unknown, set this value to -1.
Defaults to -1.
-
setLength
abstract Unit setLength(Long length)
Size of the object being written to the S3 store.
If this size is unknown, set this value to -1.
Defaults to -1.
-
getPartSize
abstract Integer getPartSize()
Max chunk size to send in a single request to the S3 store.
Defaults to 10MiB.
-
setPartSize
abstract Unit setPartSize(Integer partSize)
Max chunk size to send in a single request to the S3 store.
Defaults to 10MiB.
-
-
-
-