Class FastDownloadSessionOptions
- java.lang.Object
-
- ch.ethz.sis.openbis.generic.dssapi.v3.dto.datasetfile.fastdownload.FastDownloadSessionOptions
-
- All Implemented Interfaces:
java.io.Serializable
@JsonObject("dss.dto.datasetfile.fastdownload.FastDownloadSessionOptions") public class FastDownloadSessionOptions extends java.lang.Object implements java.io.Serializable
Options for fast downloading.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FastDownloadSessionOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getWishedNumberOfStreams()
java.lang.String
toString()
FastDownloadSessionOptions
withWishedNumberOfStreams(java.lang.Integer wishedNumberOfStreams)
Sets the wished number of streams for parallel downloading.
-
-
-
Method Detail
-
getWishedNumberOfStreams
public java.lang.Integer getWishedNumberOfStreams()
-
withWishedNumberOfStreams
public FastDownloadSessionOptions withWishedNumberOfStreams(java.lang.Integer wishedNumberOfStreams)
Sets the wished number of streams for parallel downloading. The actual number can be less than the wished number.- Parameters:
wishedNumberOfStreams
- can benull
if there is no wish (default behavior)- Returns:
- this instance.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-