Interface OutlierDetection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OutlierDetection.Builder,OutlierDetection>,SdkBuilder<OutlierDetection.Builder,OutlierDetection>,SdkPojo
- Enclosing class:
- OutlierDetection
public static interface OutlierDetection.Builder extends SdkPojo, CopyableBuilder<OutlierDetection.Builder,OutlierDetection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OutlierDetection.BuilderbaseEjectionDuration(Consumer<Duration.Builder> baseEjectionDuration)The base amount of time for which a host is ejected.OutlierDetection.BuilderbaseEjectionDuration(Duration baseEjectionDuration)The base amount of time for which a host is ejected.default OutlierDetection.Builderinterval(Consumer<Duration.Builder> interval)The time interval between ejection sweep analysis.OutlierDetection.Builderinterval(Duration interval)The time interval between ejection sweep analysis.OutlierDetection.BuildermaxEjectionPercent(Integer maxEjectionPercent)Maximum percentage of hosts in load balancing pool for upstream service that can be ejected.OutlierDetection.BuildermaxServerErrors(Long maxServerErrors)Number of consecutive5xxerrors required for ejection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
baseEjectionDuration
OutlierDetection.Builder baseEjectionDuration(Duration baseEjectionDuration)
The base amount of time for which a host is ejected.
- Parameters:
baseEjectionDuration- The base amount of time for which a host is ejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseEjectionDuration
default OutlierDetection.Builder baseEjectionDuration(Consumer<Duration.Builder> baseEjectionDuration)
The base amount of time for which a host is ejected.
This is a convenience method that creates an instance of theDuration.Builderavoiding the need to create one manually viaDuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobaseEjectionDuration(Duration).- Parameters:
baseEjectionDuration- a consumer that will call methods onDuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
baseEjectionDuration(Duration)
-
interval
OutlierDetection.Builder interval(Duration interval)
The time interval between ejection sweep analysis.
- Parameters:
interval- The time interval between ejection sweep analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interval
default OutlierDetection.Builder interval(Consumer<Duration.Builder> interval)
The time interval between ejection sweep analysis.
This is a convenience method that creates an instance of theDuration.Builderavoiding the need to create one manually viaDuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointerval(Duration).- Parameters:
interval- a consumer that will call methods onDuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
interval(Duration)
-
maxEjectionPercent
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxServerErrors
OutlierDetection.Builder maxServerErrors(Long maxServerErrors)
Number of consecutive
5xxerrors required for ejection.- Parameters:
maxServerErrors- Number of consecutive5xxerrors required for ejection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-