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 interface
TargetHealthDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdministrativeOverride
administrativeOverride()
The administrative override information for the target.AnomalyDetection
anomalyDetection()
The anomaly detection result for the target.static TargetHealthDescription.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
healthCheckPort()
The port to use to connect with the target.List<SdkField<?>>
sdkFields()
static Class<? extends TargetHealthDescription.Builder>
serializableBuilderClass()
TargetDescription
target()
The description of the target.TargetHealth
targetHealth()
The health information for the target.TargetHealthDescription.Builder
toBuilder()
String
toString()
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
.
-
administrativeOverride
public final AdministrativeOverride administrativeOverride()
The administrative override information for the target.
- Returns:
- The administrative override information for the target.
-
toBuilder
public TargetHealthDescription.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-