Package com.oracle.bmc.aispeech.model
Class TranscriptionJob.Builder
- java.lang.Object
- 
- com.oracle.bmc.aispeech.model.TranscriptionJob.Builder
 
- 
- Enclosing class:
- TranscriptionJob
 
 public static class TranscriptionJob.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic TranscriptionJob.Builder id(String id) The OCID of the job.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic TranscriptionJob.Builder displayName(String displayName) A user-friendly display name for the job.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic TranscriptionJob.Builder compartmentId(String compartmentId) The OCID of the compartment where you want to create the job.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TranscriptionJob.Builder description(String description) A short description of the job.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
modelDetailspublic TranscriptionJob.Builder modelDetails(TranscriptionModelDetails modelDetails) 
 - 
normalizationpublic TranscriptionJob.Builder normalization(TranscriptionNormalization normalization) 
 - 
timeAcceptedpublic TranscriptionJob.Builder timeAccepted(Date timeAccepted) Job accepted time.- Parameters:
- timeAccepted- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic TranscriptionJob.Builder timeStarted(Date timeStarted) Job started time.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeFinishedpublic TranscriptionJob.Builder timeFinished(Date timeFinished) Job finished time.- Parameters:
- timeFinished- the value to set
- Returns:
- this builder
 
 - 
totalTaskspublic TranscriptionJob.Builder totalTasks(Integer totalTasks) Total tasks in a job.- Parameters:
- totalTasks- the value to set
- Returns:
- this builder
 
 - 
outstandingTaskspublic TranscriptionJob.Builder outstandingTasks(Integer outstandingTasks) Total outstanding tasks in a job.- Parameters:
- outstandingTasks- the value to set
- Returns:
- this builder
 
 - 
successfulTaskspublic TranscriptionJob.Builder successfulTasks(Integer successfulTasks) Total successful tasks in a job.- Parameters:
- successfulTasks- the value to set
- Returns:
- this builder
 
 - 
ttlInDayspublic TranscriptionJob.Builder ttlInDays(Integer ttlInDays) Time to live duration in days for Job.Job will be available till max 90 days. - Parameters:
- ttlInDays- the value to set
- Returns:
- this builder
 
 - 
percentCompletepublic TranscriptionJob.Builder percentComplete(Integer percentComplete) How much progress the operation has made, vs the total amount of work that must be performed.- Parameters:
- percentComplete- the value to set
- Returns:
- this builder
 
 - 
inputLocationpublic TranscriptionJob.Builder inputLocation(InputLocation inputLocation) 
 - 
outputLocationpublic TranscriptionJob.Builder outputLocation(OutputLocation outputLocation) 
 - 
createdBypublic TranscriptionJob.Builder createdBy(String createdBy) The OCID of the user who created the job.- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
additionalTranscriptionFormatspublic TranscriptionJob.Builder additionalTranscriptionFormats(List<TranscriptionJob.AdditionalTranscriptionFormats> additionalTranscriptionFormats) Transcription format.JSON format will always be provided in addition to any formats in this list. - Parameters:
- additionalTranscriptionFormats- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic TranscriptionJob.Builder lifecycleState(TranscriptionJob.LifecycleState lifecycleState) The current state of the Job.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”}. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}}. - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}}. - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic TranscriptionJob build() 
 - 
copypublic TranscriptionJob.Builder copy(TranscriptionJob model) 
 
- 
 
-