@Generated(value="software.amazon.awssdk:codegen") public final class ConnectionHealth extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConnectionHealth.Builder,ConnectionHealth>
Describes connection health.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConnectionHealth.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionHealth.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConnectionHealth.Builder> |
serializableBuilderClass() |
ConnectionStatus |
status()
The connection status.
|
String |
statusAsString()
The connection status.
|
Instant |
timestamp()
The time the status was last updated.
|
ConnectionHealth.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ConnectionType |
type()
The connection type.
|
String |
typeAsString()
The connection type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ConnectionType type()
The connection type.
If the service returns an enum value that is not available in the current SDK version, type will return
ConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ConnectionTypepublic final String typeAsString()
The connection type.
If the service returns an enum value that is not available in the current SDK version, type will return
ConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ConnectionTypepublic final ConnectionStatus status()
The connection status.
If the service returns an enum value that is not available in the current SDK version, status will
return ConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ConnectionStatuspublic final String statusAsString()
The connection status.
If the service returns an enum value that is not available in the current SDK version, status will
return ConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ConnectionStatuspublic final Instant timestamp()
The time the status was last updated.
public ConnectionHealth.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConnectionHealth.Builder,ConnectionHealth>public static ConnectionHealth.Builder builder()
public static Class<? extends ConnectionHealth.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.