@Stability(value=Stable) public static final class OutlierDetection.Builder extends Object implements software.amazon.jsii.Builder<OutlierDetection>
OutlierDetection| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
OutlierDetection.Builder |
baseEjectionDuration(Duration baseEjectionDuration)
Sets the value of
OutlierDetection.getBaseEjectionDuration() |
OutlierDetection |
build()
Builds the configured instance.
|
OutlierDetection.Builder |
interval(Duration interval)
Sets the value of
OutlierDetection.getInterval() |
OutlierDetection.Builder |
maxEjectionPercent(Number maxEjectionPercent)
Sets the value of
OutlierDetection.getMaxEjectionPercent() |
OutlierDetection.Builder |
maxServerErrors(Number maxServerErrors)
Sets the value of
OutlierDetection.getMaxServerErrors() |
@Stability(value=Stable) public OutlierDetection.Builder baseEjectionDuration(Duration baseEjectionDuration)
OutlierDetection.getBaseEjectionDuration()baseEjectionDuration - The base amount of time for which a host is ejected. This parameter is required.this@Stability(value=Stable) public OutlierDetection.Builder interval(Duration interval)
OutlierDetection.getInterval()interval - The time interval between ejection sweep analysis. This parameter is required.this@Stability(value=Stable) public OutlierDetection.Builder maxEjectionPercent(Number maxEjectionPercent)
OutlierDetection.getMaxEjectionPercent()maxEjectionPercent - Maximum percentage of hosts in load balancing pool for upstream service that can be ejected. This parameter is required.
Will eject at
least one host regardless of the value.this@Stability(value=Stable) public OutlierDetection.Builder maxServerErrors(Number maxServerErrors)
OutlierDetection.getMaxServerErrors()maxServerErrors - Number of consecutive 5xx errors required for ejection. This parameter is required.this@Stability(value=Stable) public OutlierDetection build()
build in interface software.amazon.jsii.Builder<OutlierDetection>OutlierDetectionNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.