public static interface OutlierDetection.Builder extends SdkPojo, CopyableBuilder<OutlierDetection.Builder,OutlierDetection>
| Modifier and Type | Method and Description |
|---|---|
default OutlierDetection.Builder |
baseEjectionDuration(Consumer<Duration.Builder> baseEjectionDuration)
The base amount of time for which a host is ejected.
|
OutlierDetection.Builder |
baseEjectionDuration(Duration baseEjectionDuration)
The base amount of time for which a host is ejected.
|
default OutlierDetection.Builder |
interval(Consumer<Duration.Builder> interval)
The time interval between ejection sweep analysis.
|
OutlierDetection.Builder |
interval(Duration interval)
The time interval between ejection sweep analysis.
|
OutlierDetection.Builder |
maxEjectionPercent(Integer maxEjectionPercent)
Maximum percentage of hosts in load balancing pool for upstream service that can be ejected.
|
OutlierDetection.Builder |
maxServerErrors(Long maxServerErrors)
Number of consecutive
5xx errors required for ejection. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOutlierDetection.Builder baseEjectionDuration(Duration baseEjectionDuration)
The base amount of time for which a host is ejected.
baseEjectionDuration - The base amount of time for which a host is ejected.default OutlierDetection.Builder baseEjectionDuration(Consumer<Duration.Builder> baseEjectionDuration)
The base amount of time for which a host is ejected.
This is a convenience that creates an instance of theDuration.Builder avoiding the need to create
one manually via Duration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to baseEjectionDuration(Duration).baseEjectionDuration - a consumer that will call methods on Duration.BuilderbaseEjectionDuration(Duration)OutlierDetection.Builder interval(Duration interval)
The time interval between ejection sweep analysis.
interval - The time interval between ejection sweep analysis.default OutlierDetection.Builder interval(Consumer<Duration.Builder> interval)
The time interval between ejection sweep analysis.
This is a convenience that creates an instance of theDuration.Builder avoiding the need to create
one manually via Duration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to interval(Duration).interval - a consumer that will call methods on Duration.Builderinterval(Duration)OutlierDetection.Builder maxEjectionPercent(Integer maxEjectionPercent)
Maximum percentage of hosts in load balancing pool for upstream service that can be ejected. Will eject at least one host regardless of the value.
maxEjectionPercent - Maximum percentage of hosts in load balancing pool for upstream service that can be ejected. Will
eject at least one host regardless of the value.OutlierDetection.Builder maxServerErrors(Long maxServerErrors)
Number of consecutive 5xx errors required for ejection.
maxServerErrors - Number of consecutive 5xx errors required for ejection.Copyright © 2021. All rights reserved.