@Generated(value="software.amazon.awssdk:codegen") public final class OutlierDetection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OutlierDetection.Builder,OutlierDetection>
An object that represents the outlier detection for a virtual node's listener.
Modifier and Type | Class and Description |
---|---|
static interface |
OutlierDetection.Builder |
Modifier and Type | Method and Description |
---|---|
Duration |
baseEjectionDuration()
The base amount of time for which a host is ejected.
|
static OutlierDetection.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Duration |
interval()
The time interval between ejection sweep analysis.
|
Integer |
maxEjectionPercent()
Maximum percentage of hosts in load balancing pool for upstream service that can be ejected.
|
Long |
maxServerErrors()
Number of consecutive
5xx errors required for ejection. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends OutlierDetection.Builder> |
serializableBuilderClass() |
OutlierDetection.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final Duration baseEjectionDuration()
The base amount of time for which a host is ejected.
public final Duration interval()
The time interval between ejection sweep analysis.
public final 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.
public final Long maxServerErrors()
Number of consecutive 5xx
errors required for ejection.
5xx
errors required for ejection.public OutlierDetection.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OutlierDetection.Builder,OutlierDetection>
public static OutlierDetection.Builder builder()
public static Class<? extends OutlierDetection.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()