Class JobMonitorRuleArgs.Builder

  • Enclosing class:
    JobMonitorRuleArgs

    public static final class JobMonitorRuleArgs.Builder
    extends java.lang.Object
    • 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