Class OutlierDetection
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.OutlierDetection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OutlierDetection.Builder,OutlierDetection>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOutlierDetection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationbaseEjectionDuration()The base amount of time for which a host is ejected.static OutlierDetection.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Durationinterval()The time interval between ejection sweep analysis.IntegermaxEjectionPercent()Maximum percentage of hosts in load balancing pool for upstream service that can be ejected.LongmaxServerErrors()Number of consecutive5xxerrors required for ejection.List<SdkField<?>>sdkFields()static Class<? extends OutlierDetection.Builder>serializableBuilderClass()OutlierDetection.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
baseEjectionDuration
public final Duration baseEjectionDuration()
The base amount of time for which a host is ejected.
- Returns:
- The base amount of time for which a host is ejected.
-
interval
public final Duration interval()
The time interval between ejection sweep analysis.
- Returns:
- The time interval between ejection sweep analysis.
-
maxEjectionPercent
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.
- Returns:
- 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.
-
maxServerErrors
public final Long maxServerErrors()
Number of consecutive
5xxerrors required for ejection.- Returns:
- Number of consecutive
5xxerrors required for ejection.
-
toBuilder
public OutlierDetection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OutlierDetection.Builder,OutlierDetection>
-
builder
public static OutlierDetection.Builder builder()
-
serializableBuilderClass
public static Class<? extends OutlierDetection.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-