public static class DeployCartridgeOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
DeployCartridgeOptions.Builder |
archiveFile(File archiveFile)
Set the archiveFile.
|
DeployCartridgeOptions.Builder |
archiveFile(InputStream archiveFile)
Set the archiveFile.
|
DeployCartridgeOptions.Builder |
archiveFileContentType(String archiveFileContentType)
Set the archiveFileContentType.
|
DeployCartridgeOptions |
build()
Builds a DeployCartridgeOptions.
|
DeployCartridgeOptions.Builder |
update(Boolean update)
Set the update.
|
public DeployCartridgeOptions build()
public DeployCartridgeOptions.Builder archiveFile(InputStream archiveFile)
archiveFile
- the archiveFilepublic DeployCartridgeOptions.Builder archiveFileContentType(String archiveFileContentType)
archiveFileContentType
- the archiveFileContentTypepublic DeployCartridgeOptions.Builder update(Boolean update)
update
- the updatepublic DeployCartridgeOptions.Builder archiveFile(File archiveFile) throws FileNotFoundException
archiveFile
- the archiveFileFileNotFoundException
- if the file could not be foundCopyright © 2021 IBM Cloud. All rights reserved.