Class ConnectionHealth
- java.lang.Object
-
- software.amazon.awssdk.services.networkmanager.model.ConnectionHealth
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConnectionHealth.Builder,ConnectionHealth>
@Generated("software.amazon.awssdk:codegen") public final class ConnectionHealth extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConnectionHealth.Builder,ConnectionHealth>
Describes connection health.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConnectionHealth.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectionHealth.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ConnectionHealth.Builder>serializableBuilderClass()ConnectionStatusstatus()The connection status.StringstatusAsString()The connection status.Instanttimestamp()The time the status was last updated.ConnectionHealth.BuildertoBuilder()StringtoString()Returns a string representation of this object.ConnectionTypetype()The connection type.StringtypeAsString()The connection type.-
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
-
type
public final ConnectionType type()
The connection type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The connection type.
- See Also:
ConnectionType
-
typeAsString
public final String typeAsString()
The connection type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The connection type.
- See Also:
ConnectionType
-
status
public final ConnectionStatus status()
The connection status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The connection status.
- See Also:
ConnectionStatus
-
statusAsString
public final String statusAsString()
The connection status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The connection status.
- See Also:
ConnectionStatus
-
timestamp
public final Instant timestamp()
The time the status was last updated.
- Returns:
- The time the status was last updated.
-
toBuilder
public ConnectionHealth.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConnectionHealth.Builder,ConnectionHealth>
-
builder
public static ConnectionHealth.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConnectionHealth.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.
-
-