Class TargetHealthDescription
- java.lang.Object
-
- software.amazon.awssdk.services.elasticloadbalancingv2.model.TargetHealthDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TargetHealthDescription.Builder,TargetHealthDescription>
@Generated("software.amazon.awssdk:codegen") public final class TargetHealthDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetHealthDescription.Builder,TargetHealthDescription>
Information about the health of a target.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTargetHealthDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnomalyDetectionanomalyDetection()The anomaly detection result for the target.static TargetHealthDescription.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhealthCheckPort()The port to use to connect with the target.List<SdkField<?>>sdkFields()static Class<? extends TargetHealthDescription.Builder>serializableBuilderClass()TargetDescriptiontarget()The description of the target.TargetHealthtargetHealth()The health information for the target.TargetHealthDescription.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
-
target
public final TargetDescription target()
The description of the target.
- Returns:
- The description of the target.
-
healthCheckPort
public final String healthCheckPort()
The port to use to connect with the target.
- Returns:
- The port to use to connect with the target.
-
targetHealth
public final TargetHealth targetHealth()
The health information for the target.
- Returns:
- The health information for the target.
-
anomalyDetection
public final AnomalyDetection anomalyDetection()
The anomaly detection result for the target.
If no anomalies were detected, the result is
normal.If anomalies were detected, the result is
anomalous.- Returns:
- The anomaly detection result for the target.
If no anomalies were detected, the result is
normal.If anomalies were detected, the result is
anomalous.
-
toBuilder
public TargetHealthDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TargetHealthDescription.Builder,TargetHealthDescription>
-
builder
public static TargetHealthDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends TargetHealthDescription.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.
-
-