public static class DeployCartridgeOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
DeployCartridgeOptions.Builder |
archiveFile(java.io.File archiveFile)
Set the archiveFile.
|
DeployCartridgeOptions.Builder |
archiveFile(java.io.InputStream archiveFile)
Set the archiveFile.
|
DeployCartridgeOptions.Builder |
archiveFileContentType(java.lang.String archiveFileContentType)
Set the archiveFileContentType.
|
DeployCartridgeOptions |
build()
Builds a DeployCartridgeOptions.
|
DeployCartridgeOptions.Builder |
update(java.lang.Boolean update)
Set the update.
|
public DeployCartridgeOptions build()
public DeployCartridgeOptions.Builder archiveFile(java.io.InputStream archiveFile)
archiveFile
- the archiveFilepublic DeployCartridgeOptions.Builder archiveFileContentType(java.lang.String archiveFileContentType)
archiveFileContentType
- the archiveFileContentTypepublic DeployCartridgeOptions.Builder update(java.lang.Boolean update)
update
- the updatepublic DeployCartridgeOptions.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.