PipelineProps
Properties for defining a Pipeline
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mps-pipeline
Initializer
import com.aliyun.ros.cdk.mps.PipelineProps;
PipelineProps.builder()
.name(java.lang.String)
.name(IResolvable)
// .notifyConfig(IResolvable)
// .notifyConfig(NotifyConfigProperty)
// .role(java.lang.String)
// .role(IResolvable)
// .speed(java.lang.String)
// .speed(IResolvable)
// .speedLevel(java.lang.Number)
// .speedLevel(IResolvable)
// .state(java.lang.String)
// .state(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The new name of the MPS queue. |
notifyConfig |
com.aliyun.ros.cdk.core.IResolvable OR NotifyConfigProperty |
Property notifyConfig: The Message Service (MNS) configuration, such as the information about the MNS queue or topic. |
role |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property role: The role that is assigned to the current RAM user. |
speed |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property speed: Pipe type. |
speedLevel |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property speedLevel: Speed level. |
state |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property state: The new state of the MPS queue. |
name
Required
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The new name of the MPS queue.
The value can contain letters, digits, and special characters such as hyphens (-) and can be up to 128 bytes in size. The value cannot start with a special character.
notifyConfig
Optional
public java.lang.Object getNotifyConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR NotifyConfigProperty
Property notifyConfig: The Message Service (MNS) configuration, such as the information about the MNS queue or topic.
For more information, see NotifyConfig.
role
Optional
public java.lang.Object getRole();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property role: The role that is assigned to the current RAM user.
To obtain the role, you can log on to the RAM console and choose Identities > Roles in the left-side navigation pane.
speed
Optional
public java.lang.Object getSpeed();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property speed: Pipe type.
Value: Boost: Double-speed transcoding Standard: ordinary pipe NarrowBandHDV2: Narrowband HD 2.0 AIVideoCover: Smart Screenshots AIVideoTag: video tag (supports regions Shanghai, Beijing, Hangzhou). Default: Standard.
speedLevel
Optional
public java.lang.Object getSpeedLevel();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property speedLevel: Speed level.
state
Optional
public java.lang.Object getState();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property state: The new state of the MPS queue.
Active: The MPS queue is active. Jobs in the MPS queue can be scheduled and run by MPS. Paused: The MPS queue is paused. Jobs in the MPS queue cannot be scheduled or run by MPS, and all jobs remain in the Submitted state. Jobs that are running will not be affected.