Class MediaWorkflowJob
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.mediaservices.model.MediaWorkflowJob
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20211101") public final class MediaWorkflowJob extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A MediaWorkflowJob represents a run of a MediaWorkflow for a specific set of parameters and configurations.
Note: Objects should always be created or deserialized using theMediaWorkflowJob.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 theMediaWorkflowJob.Builder
, which maintain a set of all explicitly set fields calledMediaWorkflowJob.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MediaWorkflowJob.Builder
static class
MediaWorkflowJob.LifecycleState
The current state of the MediaWorkflowJob.
-
Constructor Summary
Constructors Constructor Description MediaWorkflowJob(List<String> mediaWorkflowConfigurationIds, String mediaWorkflowId, String id, String compartmentId, String displayName, MediaWorkflowJob.LifecycleState lifecycleState, String lifecycleDetails, List<MediaWorkflowTaskState> taskLifecycleState, Map<String,Object> parameters, Date timeCreated, Date timeUpdated, Map<String,Object> runnable, List<JobOutput> outputs, Date timeStarted, Date timeEnded, List<ResourceLock> locks, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaWorkflowJob.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
Compartment Identifier.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
Name of the Media Workflow Job.Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.String
getId()
Unique identifier for this run of the workflow.String
getLifecycleDetails()
The lifecyle details.MediaWorkflowJob.LifecycleState
getLifecycleState()
The current state of the MediaWorkflowJob.List<ResourceLock>
getLocks()
Locks associated with this resource.List<String>
getMediaWorkflowConfigurationIds()
Configurations to be applied to this run of the workflow.String
getMediaWorkflowId()
The workflow to execute.List<JobOutput>
getOutputs()
A list of JobOutput for the workflowJob.Map<String,Object>
getParameters()
Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow’s MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob.Map<String,Object>
getRunnable()
A JSON representation of the job as it will be run by the system.Map<String,Map<String,Object>>
getSystemTags()
Usage of system tag keys.List<MediaWorkflowTaskState>
getTaskLifecycleState()
Status of each task.Date
getTimeCreated()
Creation time of the job.Date
getTimeEnded()
Time when the job finished.Date
getTimeStarted()
Time when the job started to execute.Date
getTimeUpdated()
Updated time of the job.int
hashCode()
MediaWorkflowJob.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
MediaWorkflowJob
@Deprecated @ConstructorProperties({"mediaWorkflowConfigurationIds","mediaWorkflowId","id","compartmentId","displayName","lifecycleState","lifecycleDetails","taskLifecycleState","parameters","timeCreated","timeUpdated","runnable","outputs","timeStarted","timeEnded","locks","freeformTags","definedTags","systemTags"}) public MediaWorkflowJob(List<String> mediaWorkflowConfigurationIds, String mediaWorkflowId, String id, String compartmentId, String displayName, MediaWorkflowJob.LifecycleState lifecycleState, String lifecycleDetails, List<MediaWorkflowTaskState> taskLifecycleState, Map<String,Object> parameters, Date timeCreated, Date timeUpdated, Map<String,Object> runnable, List<JobOutput> outputs, Date timeStarted, Date timeEnded, List<ResourceLock> locks, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static MediaWorkflowJob.Builder builder()
Create a new builder.
-
toBuilder
public MediaWorkflowJob.Builder toBuilder()
-
getMediaWorkflowConfigurationIds
public List<String> getMediaWorkflowConfigurationIds()
Configurations to be applied to this run of the workflow.- Returns:
- the value
-
getMediaWorkflowId
public String getMediaWorkflowId()
The workflow to execute.- Returns:
- the value
-
getId
public String getId()
Unique identifier for this run of the workflow.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
Compartment Identifier.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Name of the Media Workflow Job.Does not have to be unique. Avoid entering confidential information.
- Returns:
- the value
-
getLifecycleState
public MediaWorkflowJob.LifecycleState getLifecycleState()
The current state of the MediaWorkflowJob.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
The lifecyle details.- Returns:
- the value
-
getTaskLifecycleState
public List<MediaWorkflowTaskState> getTaskLifecycleState()
Status of each task.- Returns:
- the value
-
getParameters
public Map<String,Object> getParameters()
Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow’s MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob.The parameters are given as JSON. The top level and 2nd level elements must be JSON objects (vs arrays, scalars, etc). The top level keys refer to a task’s key and the 2nd level keys refer to a parameter’s name.
- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Creation time of the job.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
Updated time of the job.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getRunnable
public Map<String,Object> getRunnable()
A JSON representation of the job as it will be run by the system.All the task declarations, configurations and parameters are merged. Parameter values are all fully resolved.
- Returns:
- the value
-
getOutputs
public List<JobOutput> getOutputs()
A list of JobOutput for the workflowJob.- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
Time when the job started to execute.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
Time when the job finished.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getLocks
public List<ResourceLock> getLocks()
Locks associated with this resource.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-