/** * <p> * The health of the agent or connector. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #health} will * return {@link AgentStatus#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #healthAsString}. * </p> * * @return The health of the agent or connector. * @see AgentStatus */ public AgentStatus health() { return AgentStatus.fromValue(health); }
/** * <p> * The health of the agent or connector. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #health} will * return {@link AgentStatus#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #healthAsString}. * </p> * * @return The health of the agent or connector. * @see AgentStatus */ public AgentStatus health() { return AgentStatus.fromValue(health); }
/** * <p> * The health of the agent or connector. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #health} will * return {@link AgentStatus#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #healthAsString}. * </p> * * @return The health of the agent or connector. * @see AgentStatus */ public AgentStatus health() { return AgentStatus.fromValue(health); }