@InterfaceAudience.Public @InterfaceStability.Unstable public class ServiceStatus extends BaseResource
Constructor and Description |
---|
ServiceStatus() |
Modifier and Type | Method and Description |
---|---|
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 |
diagnostics(String diagnostics)
Diagnostic information (if any) for the reason of the current state of the
service.
|
boolean |
equals(Object o) |
Integer |
getCode() |
String |
getDiagnostics() |
ServiceState |
getState() |
int |
hashCode() |
void |
setCode(Integer code) |
void |
setDiagnostics(String diagnostics) |
void |
setState(ServiceState state) |
ServiceStatus |
state(ServiceState state)
Service state.
|
String |
toString() |
getUri, setUri
public ServiceStatus diagnostics(String diagnostics)
public String getDiagnostics()
public void setDiagnostics(String diagnostics)
public ServiceStatus state(ServiceState state)
public ServiceState getState()
public void setState(ServiceState state)
public ServiceStatus code(Integer code)
public Integer getCode()
public void setCode(Integer code)
public String toString()
toString
in class BaseResource
Copyright © 2023 Apache Software Foundation. All rights reserved.