Class CartridgesPostMultipartOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • 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