public static class AvailabilityConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AvailabilityConfiguration |
build() |
AvailabilityConfiguration.Builder |
copy(AvailabilityConfiguration model) |
AvailabilityConfiguration.Builder |
maxAllowedFailuresPerInterval(Integer maxAllowedFailuresPerInterval)
Maximum number of failed runs allowed in an interval.
|
AvailabilityConfiguration.Builder |
minAllowedRunsPerInterval(Integer minAllowedRunsPerInterval)
Minimum number of runs allowed in an interval.
|
public AvailabilityConfiguration.Builder maxAllowedFailuresPerInterval(Integer maxAllowedFailuresPerInterval)
Maximum number of failed runs allowed in an interval. If an interval has more failed runs than the specified value, then the interval will be classified as UNAVAILABLE.
maxAllowedFailuresPerInterval
- the value to setpublic AvailabilityConfiguration.Builder minAllowedRunsPerInterval(Integer minAllowedRunsPerInterval)
Minimum number of runs allowed in an interval. If an interval has fewer runs than the specified value, then the interval will be classified as UNKNOWN and will be excluded from the availability calculations.
minAllowedRunsPerInterval
- the value to setpublic AvailabilityConfiguration build()
public AvailabilityConfiguration.Builder copy(AvailabilityConfiguration model)
Copyright © 2016–2024. All rights reserved.