ScheduleProps
Properties for defining a Schedule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fnf-schedule
Initializer
import com.aliyun.ros.cdk.fnf.ScheduleProps;
ScheduleProps.builder()
.cronExpression(java.lang.String)
.cronExpression(IResolvable)
.flowName(java.lang.String)
.flowName(IResolvable)
.scheduleName(java.lang.String)
.scheduleName(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .enable(java.lang.Boolean)
// .enable(IResolvable)
// .payload(java.lang.String)
// .payload(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
cronExpression | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property cronExpression: Cron expression. |
flowName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property flowName: Flow name. |
scheduleName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property scheduleName: The name of the timed schedule. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: Description of the schedule. |
enable | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enable: Whether enable schedule. |
payload | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property payload: The trigger message of the timed schedule. |
cronExpressionRequired
public java.lang.Object getCronExpression();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cronExpression: Cron expression.
flowNameRequired
public java.lang.Object getFlowName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property flowName: Flow name.
scheduleNameRequired
public java.lang.Object getScheduleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scheduleName: The name of the timed schedule.
The name must meet the following requirements:
- It can contain letters (a-z and A-Z), digits (0-9), underscores (_), and hyphens (-).
- It is case-sensitive.
- It must be 1 to 128 characters in length.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Description of the schedule.
enableOptional
public java.lang.Object getEnable();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enable: Whether enable schedule.
payloadOptional
public java.lang.Object getPayload();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property payload: The trigger message of the timed schedule.
The message must be in the JSON format.