public static class MediaWorkflow.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public MediaWorkflow.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic MediaWorkflow.Builder displayName(String displayName)
Name of the Media Workflow. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic MediaWorkflow.Builder compartmentId(String compartmentId)
Compartment Identifier.
compartmentId
- the value to setpublic 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.
tasks
- the value to setpublic 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.
mediaWorkflowConfigurationIds
- the value to setpublic 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
- the value to setpublic MediaWorkflow.Builder timeCreated(Date timeCreated)
The time when the MediaWorkflow was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MediaWorkflow.Builder timeUpdated(Date timeUpdated)
The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MediaWorkflow.Builder lifecycleState(MediaWorkflow.LifecycleState lifecycleState)
The current state of the MediaWorkflow.
lifecycleState
- the value to setpublic 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.
lifecyleDetails
- the value to setpublic MediaWorkflow.Builder version(Long version)
The version of the MediaWorkflow.
version
- the value to setpublic MediaWorkflow.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic MediaWorkflow build()
public MediaWorkflow.Builder copy(MediaWorkflow model)
Copyright © 2016–2024. All rights reserved.