public static class TranscriptionTaskSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TranscriptionTaskSummary |
build() |
TranscriptionTaskSummary.Builder |
copy(TranscriptionTaskSummary model) |
TranscriptionTaskSummary.Builder |
displayName(String displayName)
A user-friendly display name for the task.
|
TranscriptionTaskSummary.Builder |
fileDurationInSeconds(Integer fileDurationInSeconds)
Duration of input file in Seconds.
|
TranscriptionTaskSummary.Builder |
fileSizeInBytes(Integer fileSizeInBytes)
Size of input file in Bytes.
|
TranscriptionTaskSummary.Builder |
id(String id)
The OCID
of the task.
|
TranscriptionTaskSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
TranscriptionTaskSummary.Builder |
lifecycleState(TranscriptionTask.LifecycleState lifecycleState)
The current state of the Speech Job.
|
TranscriptionTaskSummary.Builder |
percentComplete(Integer percentComplete)
How much progress the operation has made, vs the total amount of work that must be
performed.
|
TranscriptionTaskSummary.Builder |
processingDurationInSeconds(Integer processingDurationInSeconds)
Task proccessing duration, which excludes waiting time in the system.
|
TranscriptionTaskSummary.Builder |
timeFinished(Date timeFinished)
Job finished time
|
TranscriptionTaskSummary.Builder |
timeStarted(Date timeStarted)
Task started time
|
public TranscriptionTaskSummary.Builder id(String id)
The OCID of the task.
id
- the value to setpublic TranscriptionTaskSummary.Builder displayName(String displayName)
A user-friendly display name for the task.
displayName
- the value to setpublic TranscriptionTaskSummary.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 TranscriptionTaskSummary.Builder fileSizeInBytes(Integer fileSizeInBytes)
Size of input file in Bytes.
fileSizeInBytes
- the value to setpublic TranscriptionTaskSummary.Builder fileDurationInSeconds(Integer fileDurationInSeconds)
Duration of input file in Seconds.
fileDurationInSeconds
- the value to setpublic TranscriptionTaskSummary.Builder processingDurationInSeconds(Integer processingDurationInSeconds)
Task proccessing duration, which excludes waiting time in the system.
processingDurationInSeconds
- the value to setpublic TranscriptionTaskSummary.Builder timeStarted(Date timeStarted)
Task started time
timeStarted
- the value to setpublic TranscriptionTaskSummary.Builder timeFinished(Date timeFinished)
Job finished time
timeFinished
- the value to setpublic TranscriptionTaskSummary.Builder lifecycleState(TranscriptionTask.LifecycleState lifecycleState)
The current state of the Speech Job.
lifecycleState
- the value to setpublic TranscriptionTaskSummary.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 TranscriptionTaskSummary build()
public TranscriptionTaskSummary.Builder copy(TranscriptionTaskSummary model)
Copyright © 2016–2024. All rights reserved.