JobMonitorRuleProps
Properties for defining a JobMonitorRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dts-jobmonitorrule
Initializer
import com.aliyun.ros.cdk.dts.JobMonitorRuleProps;
JobMonitorRuleProps.builder()
.dtsJobId(java.lang.String)
.dtsJobId(IResolvable)
.type(java.lang.String)
.type(IResolvable)
// .delayRuleTime(java.lang.Number)
// .delayRuleTime(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .phones(java.util.List<java.lang.Object>)
// .phones(IResolvable)
// .state(java.lang.String)
// .state(IResolvable)
// .times(java.lang.Number)
// .times(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
dtsJobId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dtsJobId: Migration, synchronization or subscription task ID can be by calling the DescribeDtsJobs get. |
type | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property type: Monitoring rules of type, the return value: - delay: delay alarm. |
delayRuleTime | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property delayRuleTime: Trigger delay alarm threshold, which is measured in seconds. |
period | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property period: The statistical period of the incremental verification task. |
phones | java.util.List | Property phones: The alarm is triggered after notification of the contact phone number. |
state | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property state: Whether to enable monitoring rules, return value: - Y: enable. |
times | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property times: The number of cycles of the incremental verification task. |
dtsJobIdRequired
public java.lang.Object getDtsJobId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dtsJobId: Migration, synchronization or subscription task ID can be by calling the DescribeDtsJobs get.
typeRequired
public java.lang.Object getType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property type: Monitoring rules of type, the return value: - delay: delay alarm.
- error: abnormal alarm.
delayRuleTimeOptional
public java.lang.Object getDelayRuleTime();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property delayRuleTime: Trigger delay alarm threshold, which is measured in seconds.
periodOptional
public java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property period: The statistical period of the incremental verification task.
Unit: minutes.
currently supported values are 1 minute, 3 minutes, 5 minutes and 30 minutes.
phonesOptional
public java.lang.Object getPhones();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property phones: The alarm is triggered after notification of the contact phone number.
stateOptional
public java.lang.Object getState();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property state: Whether to enable monitoring rules, return value: - Y: enable.
- N: Inactive.
timesOptional
public java.lang.Object getTimes();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property times: The number of cycles of the incremental verification task.