Class CartridgesPutMultipartOptions.Builder

    • Constructor Detail

      • Builder

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