- Enclosing class:
- FileDownload
public static interface FileDownload.Builder
Allows creating a
FileDownload with the specified FileDownload.Mode.-
Method Summary
Modifier and TypeMethodDescriptiondefault FileDownloadCreates an attachedFileDownload.build(FileDownload.Mode mode) Creates aFileDownloadwith the specifiedFileDownload.Mode.default FileDownloadinline()Creates an inlineFileDownload.
-
Method Details
-
build
Creates aFileDownloadwith the specifiedFileDownload.Mode.- Parameters:
mode- theFileDownload.Mode- Returns:
- a
FileDownloadwith the specified mode
-
attachment
Creates an attachedFileDownload.- Returns:
- a
FileDownloadwithFileDownload.Mode.ATTACHMENT
-
inline
Creates an inlineFileDownload.- Returns:
- a
FileDownloadwithFileDownload.Mode.INLINE
-