public static class TranscriptionJobSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TranscriptionJobSummary |
build() |
TranscriptionJobSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where you want to create the job.
|
TranscriptionJobSummary.Builder |
copy(TranscriptionJobSummary model) |
TranscriptionJobSummary.Builder |
createdBy(String createdBy)
The OCID
of the user who created the job.
|
TranscriptionJobSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
TranscriptionJobSummary.Builder |
displayName(String displayName)
A user-friendly display name for the job.
|
TranscriptionJobSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
TranscriptionJobSummary.Builder |
id(String id)
The OCID
of the job.
|
TranscriptionJobSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
TranscriptionJobSummary.Builder |
lifecycleState(TranscriptionJob.LifecycleState lifecycleState)
The current state of the Speech Job.
|
TranscriptionJobSummary.Builder |
outstandingTasks(Integer outstandingTasks)
Total outstanding tasks in a job.
|
TranscriptionJobSummary.Builder |
percentComplete(Integer percentComplete)
How much progress the operation has made, vs the total amount of work that must be
performed.
|
TranscriptionJobSummary.Builder |
successfulTasks(Integer successfulTasks)
Total successful tasks in a job.
|
TranscriptionJobSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
TranscriptionJobSummary.Builder |
timeAccepted(Date timeAccepted)
Job accepted time.
|
TranscriptionJobSummary.Builder |
timeFinished(Date timeFinished)
Job finished time.
|
TranscriptionJobSummary.Builder |
timeStarted(Date timeStarted)
Job started time.
|
TranscriptionJobSummary.Builder |
totalTasks(Integer totalTasks)
Total number of tasks in a job.
|
public TranscriptionJobSummary.Builder id(String id)
The OCID of the job.
id
- the value to setpublic TranscriptionJobSummary.Builder displayName(String displayName)
A user-friendly display name for the job.
displayName
- the value to setpublic TranscriptionJobSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.
compartmentId
- the value to setpublic TranscriptionJobSummary.Builder createdBy(String createdBy)
The OCID of the user who created the job.
createdBy
- the value to setpublic TranscriptionJobSummary.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 TranscriptionJobSummary.Builder timeAccepted(Date timeAccepted)
Job accepted time.
timeAccepted
- the value to setpublic TranscriptionJobSummary.Builder timeStarted(Date timeStarted)
Job started time.
timeStarted
- the value to setpublic TranscriptionJobSummary.Builder timeFinished(Date timeFinished)
Job finished time.
timeFinished
- the value to setpublic TranscriptionJobSummary.Builder totalTasks(Integer totalTasks)
Total number of tasks in a job.
totalTasks
- the value to setpublic TranscriptionJobSummary.Builder outstandingTasks(Integer outstandingTasks)
Total outstanding tasks in a job.
outstandingTasks
- the value to setpublic TranscriptionJobSummary.Builder successfulTasks(Integer successfulTasks)
Total successful tasks in a job.
successfulTasks
- the value to setpublic TranscriptionJobSummary.Builder lifecycleState(TranscriptionJob.LifecycleState lifecycleState)
The current state of the Speech Job.
lifecycleState
- the value to setpublic TranscriptionJobSummary.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 TranscriptionJobSummary.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 TranscriptionJobSummary.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 TranscriptionJobSummary.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 TranscriptionJobSummary build()
public TranscriptionJobSummary.Builder copy(TranscriptionJobSummary model)
Copyright © 2016–2024. All rights reserved.