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)
Intervals with failed runs more than this value will be classified as UNAVAILABLE.
|
AvailabilityConfiguration.Builder |
minAllowedRunsPerInterval(Integer minAllowedRunsPerInterval)
Intervals with runs less than this value will be classified as UNKNOWN and excluded from
the availability calculations.
|
public AvailabilityConfiguration.Builder maxAllowedFailuresPerInterval(Integer maxAllowedFailuresPerInterval)
Intervals with failed runs more than this value will be classified as UNAVAILABLE.
maxAllowedFailuresPerInterval
- the value to setpublic AvailabilityConfiguration.Builder minAllowedRunsPerInterval(Integer minAllowedRunsPerInterval)
Intervals with runs less than this value will be classified as UNKNOWN and excluded from the availability calculations.
minAllowedRunsPerInterval
- the value to setpublic AvailabilityConfiguration build()
public AvailabilityConfiguration.Builder copy(AvailabilityConfiguration model)
Copyright © 2016–2023. All rights reserved.