public static class JobSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
build() |
JobSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where you want to create the job.
|
JobSummary.Builder |
completedDocuments(Integer completedDocuments)
Number of documents processed for prediction.
|
JobSummary.Builder |
copy(JobSummary model) |
JobSummary.Builder |
createdBy(String createdBy)
The OCID
of the user who created the job.
|
JobSummary.Builder |
description(String description)
A short description of the job.
|
JobSummary.Builder |
displayName(String displayName)
A user-friendly display name for the job.
|
JobSummary.Builder |
failedDocuments(Integer failedDocuments)
Number of documents failed for prediction.
|
JobSummary.Builder |
id(String id)
The OCID
of the job.
|
JobSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
JobSummary.Builder |
lifecycleState(Job.LifecycleState lifecycleState)
The current state of the Speech Job.
|
JobSummary.Builder |
pendingDocuments(Integer pendingDocuments)
Number of documents still to process.
|
JobSummary.Builder |
percentComplete(Integer percentComplete)
How much progress the operation has made, vs the total amount of work that must be
performed.
|
JobSummary.Builder |
timeAccepted(Date timeAccepted)
Job accepted time.
|
JobSummary.Builder |
timeCompleted(Date timeCompleted)
Job finished time.
|
JobSummary.Builder |
timeStarted(Date timeStarted)
Job started time.
|
JobSummary.Builder |
totalDocuments(Integer totalDocuments)
Total number of documents given as input for prediction.
|
JobSummary.Builder |
warningsCount(Integer warningsCount)
warnings count
|
public JobSummary.Builder id(String id)
The OCID of the job.
id
- the value to setpublic JobSummary.Builder displayName(String displayName)
A user-friendly display name for the job.
displayName
- the value to setpublic JobSummary.Builder description(String description)
A short description of the job.
description
- the value to setpublic JobSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.
compartmentId
- the value to setpublic JobSummary.Builder lifecycleState(Job.LifecycleState lifecycleState)
The current state of the Speech Job.
lifecycleState
- the value to setpublic JobSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic JobSummary.Builder percentComplete(Integer percentComplete)
How much progress the operation has made, vs the total amount of work that must be performed.
percentComplete
- the value to setpublic JobSummary.Builder totalDocuments(Integer totalDocuments)
Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
totalDocuments
- the value to setpublic JobSummary.Builder pendingDocuments(Integer pendingDocuments)
Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
pendingDocuments
- the value to setpublic JobSummary.Builder completedDocuments(Integer completedDocuments)
Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
completedDocuments
- the value to setpublic JobSummary.Builder failedDocuments(Integer failedDocuments)
Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
failedDocuments
- the value to setpublic JobSummary.Builder warningsCount(Integer warningsCount)
warnings count
warningsCount
- the value to setpublic JobSummary.Builder createdBy(String createdBy)
The OCID of the user who created the job.
createdBy
- the value to setpublic JobSummary.Builder timeAccepted(Date timeAccepted)
Job accepted time.
timeAccepted
- the value to setpublic JobSummary.Builder timeStarted(Date timeStarted)
Job started time.
timeStarted
- the value to setpublic JobSummary.Builder timeCompleted(Date timeCompleted)
Job finished time.
timeCompleted
- the value to setpublic JobSummary build()
public JobSummary.Builder copy(JobSummary model)
Copyright © 2016–2024. All rights reserved.