Class InstanceHealthCheckResult
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceHealthCheckResult.Builder,InstanceHealthCheckResult>
An object representing the result of a container instance health status check.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe Unix timestamp for when the container instance health status last changed.final InstantThe Unix timestamp for when the container instance health status was last updated.static Class<? extends InstanceHealthCheckResult.Builder>final InstanceHealthCheckStatestatus()The container instance health status.final StringThe container instance health status.final StringThe reason for the container instance health status.final StringtoString()Returns a string representation of this object.final InstanceHealthCheckTypetype()The type of container instance health status that was verified.final StringThe type of container instance health status that was verified.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
type
The type of container instance health status that was verified.
If the service returns an enum value that is not available in the current SDK version,
typewill returnInstanceHealthCheckType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of container instance health status that was verified.
- See Also:
-
typeAsString
The type of container instance health status that was verified.
If the service returns an enum value that is not available in the current SDK version,
typewill returnInstanceHealthCheckType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of container instance health status that was verified.
- See Also:
-
status
The container instance health status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnInstanceHealthCheckState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The container instance health status.
- See Also:
-
statusAsString
The container instance health status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnInstanceHealthCheckState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The container instance health status.
- See Also:
-
statusReason
The reason for the container instance health status.
- Returns:
- The reason for the container instance health status.
-
lastUpdated
The Unix timestamp for when the container instance health status was last updated.
- Returns:
- The Unix timestamp for when the container instance health status was last updated.
-
lastStatusChange
The Unix timestamp for when the container instance health status last changed.
- Returns:
- The Unix timestamp for when the container instance health status last changed.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceHealthCheckResult.Builder,InstanceHealthCheckResult>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-