public static class TranscriptionJob.Builder extends Object
Constructor and Description |
---|
Builder() |
public TranscriptionJob.Builder id(String id)
The OCID of the job.
id
- the value to setpublic TranscriptionJob.Builder displayName(String displayName)
A user-friendly display name for the job.
displayName
- the value to setpublic TranscriptionJob.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.
compartmentId
- the value to setpublic TranscriptionJob.Builder description(String description)
A short description of the job.
description
- the value to setpublic TranscriptionJob.Builder modelDetails(TranscriptionModelDetails modelDetails)
public TranscriptionJob.Builder normalization(TranscriptionNormalization normalization)
public TranscriptionJob.Builder timeAccepted(Date timeAccepted)
Job accepted time.
timeAccepted
- the value to setpublic TranscriptionJob.Builder timeStarted(Date timeStarted)
Job started time.
timeStarted
- the value to setpublic TranscriptionJob.Builder timeFinished(Date timeFinished)
Job finished time.
timeFinished
- the value to setpublic TranscriptionJob.Builder totalTasks(Integer totalTasks)
Total tasks in a job.
totalTasks
- the value to setpublic TranscriptionJob.Builder outstandingTasks(Integer outstandingTasks)
Total outstanding tasks in a job.
outstandingTasks
- the value to setpublic TranscriptionJob.Builder successfulTasks(Integer successfulTasks)
Total successful tasks in a job.
successfulTasks
- the value to setpublic TranscriptionJob.Builder ttlInDays(Integer ttlInDays)
Time to live duration in days for Job. Job will be available till max 90 days.
ttlInDays
- the value to setpublic TranscriptionJob.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 TranscriptionJob.Builder inputLocation(InputLocation inputLocation)
public TranscriptionJob.Builder outputLocation(OutputLocation outputLocation)
public TranscriptionJob.Builder createdBy(String createdBy)
The OCID of the user who created the job.
createdBy
- the value to setpublic TranscriptionJob.Builder additionalTranscriptionFormats(List<TranscriptionJob.AdditionalTranscriptionFormats> additionalTranscriptionFormats)
Transcription format. JSON format will always be provided in addition to any formats in this list.
additionalTranscriptionFormats
- the value to setpublic TranscriptionJob.Builder lifecycleState(TranscriptionJob.LifecycleState lifecycleState)
The current state of the Job.
lifecycleState
- the value to setpublic TranscriptionJob.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 TranscriptionJob.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
.
freeformTags
- the value to setpublic TranscriptionJob.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace-1": {"bar-key-1": "value-1", "bar-key-2": "value-2"},
“foo-namespace-2”: {“bar-key-1”: “value-1”, “bar-key-2”: “value-2”}}
.
definedTags
- the value to setpublic TranscriptionJob.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
.
systemTags
- the value to setpublic TranscriptionJob build()
public TranscriptionJob.Builder copy(TranscriptionJob model)
Copyright © 2016–2024. All rights reserved.