Class AvailabilityConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.AvailabilityConfiguration.Builder
-
- Enclosing class:
- AvailabilityConfiguration
public static class AvailabilityConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
maxAllowedFailuresPerInterval
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.
- Parameters:
maxAllowedFailuresPerInterval
- the value to set- Returns:
- this builder
-
minAllowedRunsPerInterval
public 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.
- Parameters:
minAllowedRunsPerInterval
- the value to set- Returns:
- this builder
-
build
public AvailabilityConfiguration build()
-
copy
public AvailabilityConfiguration.Builder copy(AvailabilityConfiguration model)
-
-