Class OdsRunbookSettingData.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of OdsRunbookSettingData.
    • Method Detail

      • setEnabled

        public OdsRunbookSettingData.Builder setEnabled​(java.lang.Boolean enabled)
        The flag that indicates whether the runbook is enabled.
        Parameters:
        enabled - New value for the property.
      • setThresholdNumber

        public OdsRunbookSettingData.Builder setThresholdNumber​(java.lang.Long thresholdNumber)
        Maximum number of runbook executions allowed in a throttling cycle. Runbook execution will be throttled once the threshold is reached. This option does not take effect when the throttling is disabled. format: int64
        Parameters:
        thresholdNumber - New value for the property.
      • setThrottleCycle

        public OdsRunbookSettingData.Builder setThrottleCycle​(java.lang.Long throttleCycle)
        Duration of throttling cycle for runbook execution in minutes. It controls the minimum time between execution of a runbook and avoids executing a runbook too frequently in a short time. If the throttling cycle is set to 0, throttling is disabled. format: int64
        Parameters:
        throttleCycle - New value for the property.
      • setTimeout

        public OdsRunbookSettingData.Builder setTimeout​(java.lang.Long timeout)
        Timeout of runbook execution in seconds. format: int64
        Parameters:
        timeout - New value for the property.