Package com.merative.acd.v1.model
Class CartridgesPutMultipartOptions.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.CartridgesPutMultipartOptions.Builder
-
- Enclosing class:
- CartridgesPutMultipartOptions
public static class CartridgesPutMultipartOptions.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 CartridgesPutMultipartOptions.Builder
archiveFile(java.io.File archiveFile)
Set the archiveFile.CartridgesPutMultipartOptions.Builder
archiveFile(java.io.InputStream archiveFile)
Set the archiveFile.CartridgesPutMultipartOptions.Builder
archiveFileContentType(java.lang.String archiveFileContentType)
Set the archiveFileContentType.CartridgesPutMultipartOptions
build()
Builds a CartridgesPutMultipartOptions.
-
-
-
Method Detail
-
build
public CartridgesPutMultipartOptions build()
Builds a CartridgesPutMultipartOptions.- Returns:
- the new CartridgesPutMultipartOptions instance
-
archiveFile
public CartridgesPutMultipartOptions.Builder archiveFile(java.io.InputStream archiveFile)
Set the archiveFile.- Parameters:
archiveFile
- the archiveFile- Returns:
- the CartridgesPutMultipartOptions builder
-
archiveFileContentType
public CartridgesPutMultipartOptions.Builder archiveFileContentType(java.lang.String archiveFileContentType)
Set the archiveFileContentType.- Parameters:
archiveFileContentType
- the archiveFileContentType- Returns:
- the CartridgesPutMultipartOptions builder
-
archiveFile
public CartridgesPutMultipartOptions.Builder archiveFile(java.io.File archiveFile) throws java.io.FileNotFoundException
Set the archiveFile.- Parameters:
archiveFile
- the archiveFile- Returns:
- the CartridgesPutMultipartOptions builder
- Throws:
java.io.FileNotFoundException
- if the file could not be found
-
-