public static final class PipelineProps.Builder extends Object implements software.amazon.jsii.Builder<PipelineProps>
PipelineProps| Constructor and Description |
|---|
Builder() |
public PipelineProps.Builder name(String name)
PipelineProps.getName()name - Property name: The new name of the MPS queue. This parameter is required.
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.thispublic PipelineProps.Builder name(com.aliyun.ros.cdk.core.IResolvable name)
PipelineProps.getName()name - Property name: The new name of the MPS queue. This parameter is required.
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.thispublic PipelineProps.Builder notifyConfig(com.aliyun.ros.cdk.core.IResolvable notifyConfig)
PipelineProps.getNotifyConfig()notifyConfig - Property notifyConfig: The Message Service (MNS) configuration, such as the information about the MNS queue or topic.
For more information, see NotifyConfig.thispublic PipelineProps.Builder notifyConfig(RosPipeline.NotifyConfigProperty notifyConfig)
PipelineProps.getNotifyConfig()notifyConfig - Property notifyConfig: The Message Service (MNS) configuration, such as the information about the MNS queue or topic.
For more information, see NotifyConfig.thispublic PipelineProps.Builder role(String role)
PipelineProps.getRole()role - 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.thispublic PipelineProps.Builder role(com.aliyun.ros.cdk.core.IResolvable role)
PipelineProps.getRole()role - 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.thispublic PipelineProps.Builder speed(String speed)
PipelineProps.getSpeed()speed - 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.thispublic PipelineProps.Builder speed(com.aliyun.ros.cdk.core.IResolvable speed)
PipelineProps.getSpeed()speed - 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.thispublic PipelineProps.Builder speedLevel(Number speedLevel)
PipelineProps.getSpeedLevel()speedLevel - Property speedLevel: Speed level.thispublic PipelineProps.Builder speedLevel(com.aliyun.ros.cdk.core.IResolvable speedLevel)
PipelineProps.getSpeedLevel()speedLevel - Property speedLevel: Speed level.thispublic PipelineProps.Builder state(String state)
PipelineProps.getState()state - 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.thispublic PipelineProps.Builder state(com.aliyun.ros.cdk.core.IResolvable state)
PipelineProps.getState()state - 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.thispublic PipelineProps build()
build in interface software.amazon.jsii.Builder<PipelineProps>PipelinePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.