public static final class OdsRunbookSettingData.Builder
extends java.lang.Object
OdsRunbookSettingData.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
OdsRunbookSettingData. |
| Modifier and Type | Method and Description |
|---|---|
OdsRunbookSettingData |
build() |
OdsRunbookSettingData.Builder |
setEnabled(java.lang.Boolean enabled)
The flag that indicates whether the runbook is enabled.
|
OdsRunbookSettingData.Builder |
setThresholdNumber(java.lang.Long thresholdNumber)
Maximum number of runbook executions allowed in a throttling cycle.
|
OdsRunbookSettingData.Builder |
setThresholdNumberRange(OdsRunbookParameterRange thresholdNumberRange) |
OdsRunbookSettingData.Builder |
setThrottleCycle(java.lang.Long throttleCycle)
Duration of throttling cycle for runbook execution in minutes.
|
OdsRunbookSettingData.Builder |
setThrottleCycleRange(OdsRunbookParameterRange throttleCycleRange) |
OdsRunbookSettingData.Builder |
setTimeout(java.lang.Long timeout)
Timeout of runbook execution in seconds.
|
OdsRunbookSettingData.Builder |
setTimeoutRange(OdsRunbookParameterRange timeoutRange) |
public Builder()
OdsRunbookSettingData.public OdsRunbookSettingData.Builder setEnabled(java.lang.Boolean enabled)
enabled - New value for the property.public OdsRunbookSettingData.Builder setThresholdNumber(java.lang.Long thresholdNumber)
thresholdNumber - New value for the property.public OdsRunbookSettingData.Builder setThresholdNumberRange(OdsRunbookParameterRange thresholdNumberRange)
thresholdNumberRange - New value for the property.public OdsRunbookSettingData.Builder setThrottleCycle(java.lang.Long throttleCycle)
throttleCycle - New value for the property.public OdsRunbookSettingData.Builder setThrottleCycleRange(OdsRunbookParameterRange throttleCycleRange)
throttleCycleRange - New value for the property.public OdsRunbookSettingData.Builder setTimeout(java.lang.Long timeout)
timeout - New value for the property.public OdsRunbookSettingData.Builder setTimeoutRange(OdsRunbookParameterRange timeoutRange)
timeoutRange - New value for the property.public OdsRunbookSettingData build()