Skip to content

MediaWorkflowProps

Properties for defining a MediaWorkflow.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mps-mediaworkflow

Initializer

import com.aliyun.ros.cdk.mps.MediaWorkflowProps;
MediaWorkflowProps.builder()
    .name(java.lang.String)
    .name(IResolvable)
    .topology(IResolvable)
    .topology(java.util.Map<java.lang.String, java.lang.Object>)
//  .triggerMode(java.lang.String)
//  .triggerMode(IResolvable)
    .build();

Properties

Name Type Description
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The topology of the media workflow.
topology com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property topology: The topology of the media workflow.
triggerMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property triggerMode: The triggering mode of the media workflow.

nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The topology of the media workflow.

The value cannot be empty. The name cannot be the same as that of an existing media workflow within the current Alibaba Cloud account. The name can be up to 64 characters in length. The value must be encoded in the UTF-8 format.


topologyRequired

public java.lang.Object getTopology();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property topology: The topology of the media workflow.

The value must be a JSON object that contains the activities and activity dependencies. For more information, see the Sample topology section of this topic.Note The Object Storage Service (OSS) bucket must reside in the same region as your MPS service.


triggerModeOptional

public java.lang.Object getTriggerMode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property triggerMode: The triggering mode of the media workflow.

Valid values: OssAutoTrigger: The media workflow is automatically triggered. NotInAuto: The media workflow is not automatically triggered.