Class DatabaseHealthStatus

java.lang.Object
dev.getelements.elements.sdk.model.health.DatabaseHealthStatus

public class DatabaseHealthStatus extends Object
Represents the health status of a database connection.
  • Constructor Details

    • DatabaseHealthStatus

      public DatabaseHealthStatus()
      Creates a new instance.
  • Method Details

    • getName

      public String getName()
      Returns the name of the database.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name of the database.
      Parameters:
      name - the name
    • getMetadata

      public String getMetadata()
      Returns additional metadata about the database health.
      Returns:
      the metadata
    • setMetadata

      public void setMetadata(String metadata)
      Sets additional metadata about the database health.
      Parameters:
      metadata - the metadata
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object