| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.service.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| ServiceStatus | ServiceStatus. code(Integer code)An error code specific to a scenario which service owners should be able to
 use to understand the failure in addition to the diagnostic information. | 
| ServiceStatus | ServiceStatus. diagnostics(String diagnostics)Diagnostic information (if any) for the reason of the current state of the
 service. | 
| ServiceStatus | ServiceStatus. state(ServiceState state)Service state. | 
Copyright © 2023 Apache Software Foundation. All rights reserved.