@Generated(value="software.amazon.awssdk:codegen") public final class TargetHealth extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetHealth.Builder,TargetHealth>
Information about the connection health of an RDS Proxy target.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetHealth.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TargetHealth.Builder |
builder() |
String |
description()
A description of the health of the RDS Proxy target.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
TargetHealthReason |
reason()
The reason for the current health
State of the RDS Proxy target. |
String |
reasonAsString()
The reason for the current health
State of the RDS Proxy target. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TargetHealth.Builder> |
serializableBuilderClass() |
TargetState |
state()
The current state of the connection health lifecycle for the RDS Proxy target.
|
String |
stateAsString()
The current state of the connection health lifecycle for the RDS Proxy target.
|
TargetHealth.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TargetState state()
The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:
registering > unavailable > available > unavailable
> available
If the service returns an enum value that is not available in the current SDK version, state will return
TargetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
registering > unavailable > available >
unavailable > available
TargetStatepublic final String stateAsString()
The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:
registering > unavailable > available > unavailable
> available
If the service returns an enum value that is not available in the current SDK version, state will return
TargetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
registering > unavailable > available >
unavailable > available
TargetStatepublic final TargetHealthReason reason()
The reason for the current health State of the RDS Proxy target.
If the service returns an enum value that is not available in the current SDK version, reason will
return TargetHealthReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reasonAsString().
State of the RDS Proxy target.TargetHealthReasonpublic final String reasonAsString()
The reason for the current health State of the RDS Proxy target.
If the service returns an enum value that is not available in the current SDK version, reason will
return TargetHealthReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reasonAsString().
State of the RDS Proxy target.TargetHealthReasonpublic final String description()
A description of the health of the RDS Proxy target. If the State is AVAILABLE, a
description is not included.
State is AVAILABLE,
a description is not included.public TargetHealth.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TargetHealth.Builder,TargetHealth>public static TargetHealth.Builder builder()
public static Class<? extends TargetHealth.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.