Package com.oracle.bmc.aispeech.model
Class TranscriptionTaskSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.aispeech.model.TranscriptionTaskSummary.Builder
-
- Enclosing class:
- TranscriptionTaskSummary
public static class TranscriptionTaskSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranscriptionTaskSummarybuild()TranscriptionTaskSummary.Buildercopy(TranscriptionTaskSummary model)TranscriptionTaskSummary.BuilderdisplayName(String displayName)A user-friendly display name for the task.TranscriptionTaskSummary.BuilderfileDurationInSeconds(Integer fileDurationInSeconds)Duration of input file in Seconds.TranscriptionTaskSummary.BuilderfileSizeInBytes(Integer fileSizeInBytes)Size of input file in Bytes.TranscriptionTaskSummary.Builderid(String id)The OCID of the task.TranscriptionTaskSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.TranscriptionTaskSummary.BuilderlifecycleState(TranscriptionTask.LifecycleState lifecycleState)The current state of the Speech Job.TranscriptionTaskSummary.BuilderpercentComplete(Integer percentComplete)How much progress the operation has made, vs the total amount of work that must be performed.TranscriptionTaskSummary.BuilderprocessingDurationInSeconds(Integer processingDurationInSeconds)Task proccessing duration, which excludes waiting time in the system.TranscriptionTaskSummary.BuildertimeFinished(Date timeFinished)Job finished timeTranscriptionTaskSummary.BuildertimeStarted(Date timeStarted)Task started time
-
-
-
Method Detail
-
id
public TranscriptionTaskSummary.Builder id(String id)
The OCID of the task.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public TranscriptionTaskSummary.Builder displayName(String displayName)
A user-friendly display name for the task.- Parameters:
displayName- the value to set- Returns:
- this builder
-
percentComplete
public TranscriptionTaskSummary.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
-
fileSizeInBytes
public TranscriptionTaskSummary.Builder fileSizeInBytes(Integer fileSizeInBytes)
Size of input file in Bytes.- Parameters:
fileSizeInBytes- the value to set- Returns:
- this builder
-
fileDurationInSeconds
public TranscriptionTaskSummary.Builder fileDurationInSeconds(Integer fileDurationInSeconds)
Duration of input file in Seconds.- Parameters:
fileDurationInSeconds- the value to set- Returns:
- this builder
-
processingDurationInSeconds
public TranscriptionTaskSummary.Builder processingDurationInSeconds(Integer processingDurationInSeconds)
Task proccessing duration, which excludes waiting time in the system.- Parameters:
processingDurationInSeconds- the value to set- Returns:
- this builder
-
timeStarted
public TranscriptionTaskSummary.Builder timeStarted(Date timeStarted)
Task started time- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeFinished
public TranscriptionTaskSummary.Builder timeFinished(Date timeFinished)
Job finished time- Parameters:
timeFinished- the value to set- Returns:
- this builder
-
lifecycleState
public TranscriptionTaskSummary.Builder lifecycleState(TranscriptionTask.LifecycleState lifecycleState)
The current state of the Speech Job.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
build
public TranscriptionTaskSummary build()
-
copy
public TranscriptionTaskSummary.Builder copy(TranscriptionTaskSummary model)
-
-