Class AvailabilityConfiguration.Builder
- java.lang.Object
- 
- com.oracle.bmc.apmsynthetics.model.AvailabilityConfiguration.Builder
 
- 
- Enclosing class:
- AvailabilityConfiguration
 
 public static class AvailabilityConfiguration.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AvailabilityConfigurationbuild()AvailabilityConfiguration.Buildercopy(AvailabilityConfiguration model)AvailabilityConfiguration.BuildermaxAllowedFailuresPerInterval(Integer maxAllowedFailuresPerInterval)Maximum number of failed runs allowed in an interval.AvailabilityConfiguration.BuilderminAllowedRunsPerInterval(Integer minAllowedRunsPerInterval)Minimum number of runs allowed in an interval.
 
- 
- 
- 
Method Detail- 
maxAllowedFailuresPerIntervalpublic 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
 
 - 
minAllowedRunsPerIntervalpublic 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
 
 - 
buildpublic AvailabilityConfiguration build() 
 - 
copypublic AvailabilityConfiguration.Builder copy(AvailabilityConfiguration model) 
 
- 
 
-