Class InstanceHealthCheckResult
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.InstanceHealthCheckResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceHealthCheckResult.Builder,InstanceHealthCheckResult>
@Generated("software.amazon.awssdk:codegen") public final class InstanceHealthCheckResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceHealthCheckResult.Builder,InstanceHealthCheckResult>
An object representing the result of a container instance health status check.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceHealthCheckResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceHealthCheckResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastStatusChange()The Unix timestamp for when the container instance health status last changed.InstantlastUpdated()The Unix timestamp for when the container instance health status was last updated.List<SdkField<?>>sdkFields()static Class<? extends InstanceHealthCheckResult.Builder>serializableBuilderClass()InstanceHealthCheckStatestatus()The container instance health status.StringstatusAsString()The container instance health status.InstanceHealthCheckResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstanceHealthCheckTypetype()The type of container instance health status that was verified.StringtypeAsString()The type of container instance health status that was verified.-
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 InstanceHealthCheckType 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:
InstanceHealthCheckType
-
typeAsString
public final String 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:
InstanceHealthCheckType
-
status
public final InstanceHealthCheckState 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:
InstanceHealthCheckState
-
statusAsString
public final String 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:
InstanceHealthCheckState
-
lastUpdated
public final Instant 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
public final Instant 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
public InstanceHealthCheckResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceHealthCheckResult.Builder,InstanceHealthCheckResult>
-
builder
public static InstanceHealthCheckResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceHealthCheckResult.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.
-
-