Class DatabaseHealthStatus
java.lang.Object
dev.getelements.elements.sdk.model.health.DatabaseHealthStatus
Represents the health status of a database connection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns additional metadata about the database health.getName()Returns the name of the database.inthashCode()voidsetMetadata(String metadata) Sets additional metadata about the database health.voidSets the name of the database.toString()
-
Constructor Details
-
DatabaseHealthStatus
public DatabaseHealthStatus()Creates a new instance.
-
-
Method Details
-
getName
Returns the name of the database.- Returns:
- the name
-
setName
Sets the name of the database.- Parameters:
name- the name
-
getMetadata
Returns additional metadata about the database health.- Returns:
- the metadata
-
setMetadata
Sets additional metadata about the database health.- Parameters:
metadata- the metadata
-
toString
-
equals
-
hashCode
public int hashCode()
-