Package com.merative.acd.v1.model
Class CartridgesPostMultipartOptions.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.CartridgesPostMultipartOptions.Builder
-
- Enclosing class:
- CartridgesPostMultipartOptions
public static class CartridgesPostMultipartOptions.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartridgesPostMultipartOptions.Builder
archiveFile(java.io.File archiveFile)
Set the archiveFile.CartridgesPostMultipartOptions.Builder
archiveFile(java.io.InputStream archiveFile)
Set the archiveFile.CartridgesPostMultipartOptions.Builder
archiveFileContentType(java.lang.String archiveFileContentType)
Set the archiveFileContentType.CartridgesPostMultipartOptions
build()
Builds a CartridgesPostMultipartOptions.
-
-
-
Method Detail
-
build
public CartridgesPostMultipartOptions build()
Builds a CartridgesPostMultipartOptions.- Returns:
- the new CartridgesPostMultipartOptions instance
-
archiveFile
public CartridgesPostMultipartOptions.Builder archiveFile(java.io.InputStream archiveFile)
Set the archiveFile.- Parameters:
archiveFile
- the archiveFile- Returns:
- the CartridgesPostMultipartOptions builder
-
archiveFileContentType
public CartridgesPostMultipartOptions.Builder archiveFileContentType(java.lang.String archiveFileContentType)
Set the archiveFileContentType.- Parameters:
archiveFileContentType
- the archiveFileContentType- Returns:
- the CartridgesPostMultipartOptions builder
-
archiveFile
public CartridgesPostMultipartOptions.Builder archiveFile(java.io.File archiveFile) throws java.io.FileNotFoundException
Set the archiveFile.- Parameters:
archiveFile
- the archiveFile- Returns:
- the CartridgesPostMultipartOptions builder
- Throws:
java.io.FileNotFoundException
- if the file could not be found
-
-