public static class DocumentJob.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DocumentJob |
build() |
DocumentJob.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that starts the job.
|
DocumentJob.Builder |
copy(DocumentJob model) |
DocumentJob.Builder |
displayName(String displayName)
The document job display name.
|
DocumentJob.Builder |
documentType(DocumentType documentType)
The type of document.
|
DocumentJob.Builder |
features(List<DocumentFeature> features)
The list of requested document analysis types.
|
DocumentJob.Builder |
id(String id)
The job id.
|
DocumentJob.Builder |
inputLocation(InputLocation inputLocation) |
DocumentJob.Builder |
isZipOutputEnabled(Boolean isZipOutputEnabled)
Whether or not to generate a ZIP file containing the results.
|
DocumentJob.Builder |
language(DocumentLanguage language)
The document language, abbreviated according to ISO 639-2.
|
DocumentJob.Builder |
lifecycleDetails(DocumentJob.LifecycleDetails lifecycleDetails)
The detailed status of FAILED state.
|
DocumentJob.Builder |
lifecycleState(DocumentJob.LifecycleState lifecycleState)
The current state of the batch document job.
|
DocumentJob.Builder |
outputLocation(OutputLocation outputLocation) |
DocumentJob.Builder |
percentComplete(Float percentComplete)
How much progress the operation has made, compared to the total amount of work to be
performed.
|
DocumentJob.Builder |
timeAccepted(Date timeAccepted)
The job acceptance time.
|
DocumentJob.Builder |
timeFinished(Date timeFinished)
The job finish time.
|
DocumentJob.Builder |
timeStarted(Date timeStarted)
The job start time.
|
public DocumentJob.Builder id(String id)
The job id.
id
- the value to setpublic DocumentJob.Builder compartmentId(String compartmentId)
The OCID of the compartment that starts the job.
compartmentId
- the value to setpublic DocumentJob.Builder displayName(String displayName)
The document job display name.
displayName
- the value to setpublic DocumentJob.Builder features(List<DocumentFeature> features)
The list of requested document analysis types.
features
- the value to setpublic DocumentJob.Builder language(DocumentLanguage language)
The document language, abbreviated according to ISO 639-2.
language
- the value to setpublic DocumentJob.Builder documentType(DocumentType documentType)
The type of document.
documentType
- the value to setpublic DocumentJob.Builder inputLocation(InputLocation inputLocation)
public DocumentJob.Builder timeAccepted(Date timeAccepted)
The job acceptance time.
timeAccepted
- the value to setpublic DocumentJob.Builder timeStarted(Date timeStarted)
The job start time.
timeStarted
- the value to setpublic DocumentJob.Builder timeFinished(Date timeFinished)
The job finish time.
timeFinished
- the value to setpublic DocumentJob.Builder percentComplete(Float percentComplete)
How much progress the operation has made, compared to the total amount of work to be performed.
percentComplete
- the value to setpublic DocumentJob.Builder outputLocation(OutputLocation outputLocation)
public DocumentJob.Builder lifecycleState(DocumentJob.LifecycleState lifecycleState)
The current state of the batch document job.
lifecycleState
- the value to setpublic DocumentJob.Builder isZipOutputEnabled(Boolean isZipOutputEnabled)
Whether or not to generate a ZIP file containing the results.
isZipOutputEnabled
- the value to setpublic DocumentJob.Builder lifecycleDetails(DocumentJob.LifecycleDetails lifecycleDetails)
The detailed status of FAILED state.
lifecycleDetails
- the value to setpublic DocumentJob build()
public DocumentJob.Builder copy(DocumentJob model)
Copyright © 2016–2024. All rights reserved.