public static class CartridgesPostMultipartOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and 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.
|
public CartridgesPostMultipartOptions build()
public CartridgesPostMultipartOptions.Builder archiveFile(java.io.InputStream archiveFile)
archiveFile
- the archiveFilepublic CartridgesPostMultipartOptions.Builder archiveFileContentType(java.lang.String archiveFileContentType)
archiveFileContentType
- the archiveFileContentTypepublic CartridgesPostMultipartOptions.Builder archiveFile(java.io.File archiveFile) throws java.io.FileNotFoundException
archiveFile
- the archiveFilejava.io.FileNotFoundException
- if the file could not be foundCopyright © 2022 IBM Cloud. All rights reserved.