Class DocumentJob.Builder

  • Enclosing class:
    DocumentJob

    public static class DocumentJob.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public DocumentJob.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that starts the job.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public DocumentJob.Builder displayName​(String displayName)
        The document job display name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • features

        public DocumentJob.Builder features​(List<DocumentFeature> features)
        The list of requested document analysis types.
        Parameters:
        features - the value to set
        Returns:
        this builder
      • language

        public DocumentJob.Builder language​(DocumentLanguage language)
        The document language, abbreviated according to ISO 639-2.
        Parameters:
        language - the value to set
        Returns:
        this builder
      • documentType

        public DocumentJob.Builder documentType​(DocumentType documentType)
        The type of document.
        Parameters:
        documentType - the value to set
        Returns:
        this builder
      • timeAccepted

        public DocumentJob.Builder timeAccepted​(Date timeAccepted)
        The job acceptance time.
        Parameters:
        timeAccepted - the value to set
        Returns:
        this builder
      • timeStarted

        public DocumentJob.Builder timeStarted​(Date timeStarted)
        The job start time.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeFinished

        public DocumentJob.Builder timeFinished​(Date timeFinished)
        The job finish time.
        Parameters:
        timeFinished - the value to set
        Returns:
        this builder
      • percentComplete

        public DocumentJob.Builder percentComplete​(Float percentComplete)
        How much progress the operation has made, compared to the total amount of work to be performed.
        Parameters:
        percentComplete - the value to set
        Returns:
        this builder
      • isZipOutputEnabled

        public DocumentJob.Builder isZipOutputEnabled​(Boolean isZipOutputEnabled)
        Whether or not to generate a ZIP file containing the results.
        Parameters:
        isZipOutputEnabled - the value to set
        Returns:
        this builder