Class SlurmHealthMetadata
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SlurmHealthMetadata.Builder,SlurmHealthMetadata>
Metadata information about the health of a Slurm component on the controller node of a HyperPod cluster.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SlurmHealthMetadata.Builderbuilder()final SlurmHealthComponentThe Slurm component that the health information describes.final StringThe Slurm component that the health information describes.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final SlurmHealthReasonreason()The reason the component is unhealthy.final StringThe reason the component is unhealthy.static Class<? extends SlurmHealthMetadata.Builder> final SlurmHealthStatusstatus()The health of the component.final StringThe health of the component.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
component
The Slurm component that the health information describes. The valid value is
Slurmdbd, the Slurm accounting daemon.If the service returns an enum value that is not available in the current SDK version,
componentwill returnSlurmHealthComponent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomponentAsString().- Returns:
- The Slurm component that the health information describes. The valid value is
Slurmdbd, the Slurm accounting daemon. - See Also:
-
componentAsString
The Slurm component that the health information describes. The valid value is
Slurmdbd, the Slurm accounting daemon.If the service returns an enum value that is not available in the current SDK version,
componentwill returnSlurmHealthComponent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomponentAsString().- Returns:
- The Slurm component that the health information describes. The valid value is
Slurmdbd, the Slurm accounting daemon. - See Also:
-
status
The health of the component. Valid values are
HealthyandUnhealthy.If the service returns an enum value that is not available in the current SDK version,
statuswill returnSlurmHealthStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The health of the component. Valid values are
HealthyandUnhealthy. - See Also:
-
statusAsString
The health of the component. Valid values are
HealthyandUnhealthy.If the service returns an enum value that is not available in the current SDK version,
statuswill returnSlurmHealthStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The health of the component. Valid values are
HealthyandUnhealthy. - See Also:
-
reason
The reason the component is unhealthy. Valid values:
-
DaemonDown: The daemon is not running, so job accounting records are not being written. -
DaemonDisabled: The daemon is running and its accounting database is responding, but the daemon is not enabled to start automatically. Job accounting stops the next time the controller node restarts. -
DbUnreachable: The daemon is running, but its accounting database did not respond. Job accounting records might not be written.
This field is omitted when the component is healthy.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnSlurmHealthReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The reason the component is unhealthy. Valid values:
-
DaemonDown: The daemon is not running, so job accounting records are not being written. -
DaemonDisabled: The daemon is running and its accounting database is responding, but the daemon is not enabled to start automatically. Job accounting stops the next time the controller node restarts. -
DbUnreachable: The daemon is running, but its accounting database did not respond. Job accounting records might not be written.
This field is omitted when the component is healthy.
-
- See Also:
-
-
reasonAsString
The reason the component is unhealthy. Valid values:
-
DaemonDown: The daemon is not running, so job accounting records are not being written. -
DaemonDisabled: The daemon is running and its accounting database is responding, but the daemon is not enabled to start automatically. Job accounting stops the next time the controller node restarts. -
DbUnreachable: The daemon is running, but its accounting database did not respond. Job accounting records might not be written.
This field is omitted when the component is healthy.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnSlurmHealthReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The reason the component is unhealthy. Valid values:
-
DaemonDown: The daemon is not running, so job accounting records are not being written. -
DaemonDisabled: The daemon is running and its accounting database is responding, but the daemon is not enabled to start automatically. Job accounting stops the next time the controller node restarts. -
DbUnreachable: The daemon is running, but its accounting database did not respond. Job accounting records might not be written.
This field is omitted when the component is healthy.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SlurmHealthMetadata.Builder,SlurmHealthMetadata> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-