Class MediaWorkflow.Builder
- java.lang.Object
-
- com.oracle.bmc.mediaservices.model.MediaWorkflow.Builder
-
- Enclosing class:
- MediaWorkflow
public static class MediaWorkflow.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaWorkflow
build()
MediaWorkflow.Builder
compartmentId(String compartmentId)
Compartment Identifier.MediaWorkflow.Builder
copy(MediaWorkflow model)
MediaWorkflow.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.MediaWorkflow.Builder
displayName(String displayName)
Name of the Media Workflow.MediaWorkflow.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.MediaWorkflow.Builder
id(String id)
Unique identifier that is immutable on creation.MediaWorkflow.Builder
lifecycleState(MediaWorkflow.LifecycleState lifecycleState)
The current state of the MediaWorkflow.MediaWorkflow.Builder
lifecyleDetails(String lifecyleDetails)
A message describing the current state in more detail.MediaWorkflow.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.MediaWorkflow.Builder
mediaWorkflowConfigurationIds(List<String> mediaWorkflowConfigurationIds)
Configurations to be applied to all the runs of this workflow.MediaWorkflow.Builder
parameters(Map<String,Object> parameters)
JSON object representing named parameters and their default values that can be referenced throughout this workflow.MediaWorkflow.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.MediaWorkflow.Builder
tasks(List<MediaWorkflowTask> tasks)
The processing to be done in this workflow.MediaWorkflow.Builder
timeCreated(Date timeCreated)
The time when the MediaWorkflow was created.MediaWorkflow.Builder
timeUpdated(Date timeUpdated)
The time when the MediaWorkflow was updated.MediaWorkflow.Builder
version(Long version)
The version of the MediaWorkflow.
-
-
-
Method Detail
-
id
public MediaWorkflow.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public MediaWorkflow.Builder displayName(String displayName)
Name of the Media Workflow.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public MediaWorkflow.Builder compartmentId(String compartmentId)
Compartment Identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
tasks
public MediaWorkflow.Builder tasks(List<MediaWorkflowTask> tasks)
The processing to be done in this workflow.Each key of the MediaWorkflowTasks in this array is unique within the array. The order of the items is preserved from the order of the tasks array in CreateMediaWorkflowDetails or UpdateMediaWorkflowDetails.
- Parameters:
tasks
- the value to set- Returns:
- this builder
-
mediaWorkflowConfigurationIds
public MediaWorkflow.Builder mediaWorkflowConfigurationIds(List<String> mediaWorkflowConfigurationIds)
Configurations to be applied to all the runs of this workflow.Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob. If the same parameter appears in multiple configurations, the values that appear in the configuration at the highest index will be used.
- Parameters:
mediaWorkflowConfigurationIds
- the value to set- Returns:
- this builder
-
parameters
public MediaWorkflow.Builder parameters(Map<String,Object> parameters)
JSON object representing named parameters and their default values that can be referenced throughout this workflow.The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.
- Parameters:
parameters
- the value to set- Returns:
- this builder
-
timeCreated
public MediaWorkflow.Builder timeCreated(Date timeCreated)
The time when the MediaWorkflow was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public MediaWorkflow.Builder timeUpdated(Date timeUpdated)
The time when the MediaWorkflow was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public MediaWorkflow.Builder lifecycleState(MediaWorkflow.LifecycleState lifecycleState)
The current state of the MediaWorkflow.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecyleDetails
public MediaWorkflow.Builder lifecyleDetails(String lifecyleDetails)
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:
lifecyleDetails
- the value to set- Returns:
- this builder
-
version
public MediaWorkflow.Builder version(Long version)
The version of the MediaWorkflow.- Parameters:
version
- the value to set- Returns:
- this builder
-
locks
public MediaWorkflow.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
freeformTags
public MediaWorkflow.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public MediaWorkflow.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”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public MediaWorkflow.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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public MediaWorkflow build()
-
copy
public MediaWorkflow.Builder copy(MediaWorkflow model)
-
-