Package com.pulumi.alicloud.dts
Class JobMonitorRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.dts.JobMonitorRuleArgs.Builder
-
- Enclosing class:
- JobMonitorRuleArgs
public static final class JobMonitorRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(JobMonitorRuleArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobMonitorRuleArgs
build()
JobMonitorRuleArgs.Builder
delayRuleTime(com.pulumi.core.Output<java.lang.String> delayRuleTime)
JobMonitorRuleArgs.Builder
delayRuleTime(java.lang.String delayRuleTime)
JobMonitorRuleArgs.Builder
dtsJobId(com.pulumi.core.Output<java.lang.String> dtsJobId)
JobMonitorRuleArgs.Builder
dtsJobId(java.lang.String dtsJobId)
JobMonitorRuleArgs.Builder
phone(com.pulumi.core.Output<java.lang.String> phone)
JobMonitorRuleArgs.Builder
phone(java.lang.String phone)
JobMonitorRuleArgs.Builder
state(com.pulumi.core.Output<java.lang.String> state)
JobMonitorRuleArgs.Builder
state(java.lang.String state)
JobMonitorRuleArgs.Builder
type(com.pulumi.core.Output<java.lang.String> type)
JobMonitorRuleArgs.Builder
type(java.lang.String type)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobMonitorRuleArgs defaults)
-
-
Method Detail
-
delayRuleTime
public JobMonitorRuleArgs.Builder delayRuleTime(@Nullable com.pulumi.core.Output<java.lang.String> delayRuleTime)
- Parameters:
delayRuleTime
- Trigger delay alarm threshold, which is measured in seconds.- Returns:
- builder
-
delayRuleTime
public JobMonitorRuleArgs.Builder delayRuleTime(java.lang.String delayRuleTime)
- Parameters:
delayRuleTime
- Trigger delay alarm threshold, which is measured in seconds.- Returns:
- builder
-
dtsJobId
public JobMonitorRuleArgs.Builder dtsJobId(com.pulumi.core.Output<java.lang.String> dtsJobId)
- Parameters:
dtsJobId
- Migration, synchronization or subscription task ID can be by calling the [DescribeDtsJobs] get.- Returns:
- builder
-
dtsJobId
public JobMonitorRuleArgs.Builder dtsJobId(java.lang.String dtsJobId)
- Parameters:
dtsJobId
- Migration, synchronization or subscription task ID can be by calling the [DescribeDtsJobs] get.- Returns:
- builder
-
phone
public JobMonitorRuleArgs.Builder phone(@Nullable com.pulumi.core.Output<java.lang.String> phone)
- Parameters:
phone
- The alarm is triggered after notification of the contact phone number, A plurality of phone numbers between them with a comma (,) to separate.- Returns:
- builder
-
phone
public JobMonitorRuleArgs.Builder phone(java.lang.String phone)
- Parameters:
phone
- The alarm is triggered after notification of the contact phone number, A plurality of phone numbers between them with a comma (,) to separate.- Returns:
- builder
-
state
public JobMonitorRuleArgs.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state
- Whether to enable monitoring rules, valid values: `Y`, `N`.- Returns:
- builder
-
state
public JobMonitorRuleArgs.Builder state(java.lang.String state)
- Parameters:
state
- Whether to enable monitoring rules, valid values: `Y`, `N`.- Returns:
- builder
-
type
public JobMonitorRuleArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type
- Monitoring rules of type, valid values: `delay`, `error`. **delay**: delay alarm. **error**: abnormal alarm.- Returns:
- builder
-
type
public JobMonitorRuleArgs.Builder type(java.lang.String type)
- Parameters:
type
- Monitoring rules of type, valid values: `delay`, `error`. **delay**: delay alarm. **error**: abnormal alarm.- Returns:
- builder
-
build
public JobMonitorRuleArgs build()
-
-