@Generated(value="OracleSDKGenerator", comments="API Version: 20220101") public final class TranscriptionTask extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Description of Transcription Task.
Note: Objects should always be created or deserialized using the TranscriptionTask.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the TranscriptionTask.Builder
, which maintain a
set of all explicitly set fields called TranscriptionTask.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
TranscriptionTask.Builder |
static class |
TranscriptionTask.LifecycleState
The current state of the Task.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TranscriptionTask(String id,
String displayName,
Date timeStarted,
Date timeFinished,
Integer percentComplete,
Integer ttlInDays,
TranscriptionModelDetails modelDetails,
AudioFormatDetails audioFormatDetails,
Integer fileSizeInBytes,
Integer fileDurationInSeconds,
Integer processingDurationInSeconds,
ObjectLocation inputLocation,
ObjectLocation outputLocation,
TranscriptionTask.LifecycleState lifecycleState,
String lifecycleDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TranscriptionTask.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
AudioFormatDetails |
getAudioFormatDetails() |
String |
getDisplayName()
A user-friendly display name for the task.
|
Integer |
getFileDurationInSeconds()
Duration of input file in Seconds.
|
Integer |
getFileSizeInBytes()
Size of input file in Bytes.
|
String |
getId()
The OCID of
the task.
|
ObjectLocation |
getInputLocation() |
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
TranscriptionTask.LifecycleState |
getLifecycleState()
The current state of the Task.
|
TranscriptionModelDetails |
getModelDetails() |
ObjectLocation |
getOutputLocation() |
Integer |
getPercentComplete()
How much progress the operation has made, vs the total amount of work that must be performed.
|
Integer |
getProcessingDurationInSeconds()
Task proccessing duration, which excludes waiting time in the system.
|
Date |
getTimeFinished()
Task finished time.
|
Date |
getTimeStarted()
Task started time.
|
Integer |
getTtlInDays()
Time to live duration in days for tasks.
|
int |
hashCode() |
TranscriptionTask.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","timeStarted","timeFinished","percentComplete","ttlInDays","modelDetails","audioFormatDetails","fileSizeInBytes","fileDurationInSeconds","processingDurationInSeconds","inputLocation","outputLocation","lifecycleState","lifecycleDetails"}) public TranscriptionTask(String id, String displayName, Date timeStarted, Date timeFinished, Integer percentComplete, Integer ttlInDays, TranscriptionModelDetails modelDetails, AudioFormatDetails audioFormatDetails, Integer fileSizeInBytes, Integer fileDurationInSeconds, Integer processingDurationInSeconds, ObjectLocation inputLocation, ObjectLocation outputLocation, TranscriptionTask.LifecycleState lifecycleState, String lifecycleDetails)
public static TranscriptionTask.Builder builder()
Create a new builder.
public TranscriptionTask.Builder toBuilder()
public String getDisplayName()
A user-friendly display name for the task.
public Date getTimeStarted()
Task started time.
public Date getTimeFinished()
Task finished time.
public Integer getPercentComplete()
How much progress the operation has made, vs the total amount of work that must be performed.
public Integer getTtlInDays()
Time to live duration in days for tasks. Task will be available till max 90 days.
public TranscriptionModelDetails getModelDetails()
public AudioFormatDetails getAudioFormatDetails()
public Integer getFileSizeInBytes()
Size of input file in Bytes.
public Integer getFileDurationInSeconds()
Duration of input file in Seconds.
public Integer getProcessingDurationInSeconds()
Task proccessing duration, which excludes waiting time in the system.
public ObjectLocation getInputLocation()
public ObjectLocation getOutputLocation()
public TranscriptionTask.LifecycleState getLifecycleState()
The current state of the Task.
public String getLifecycleDetails()
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.