java.lang.Object
de.stklcode.jvault.connector.model.response.HealthResponse
All Implemented Interfaces:
VaultResponse, Serializable

public final class HealthResponse extends Object implements VaultResponse
Vault response for health query.
Since:
0.7.0
Author:
Stefan Kalscheuer
See Also:
  • Constructor Details

    • HealthResponse

      public HealthResponse()
  • Method Details

    • getClusterID

      public String getClusterID()
      Returns:
      The Cluster ID.
    • getClusterName

      public String getClusterName()
      Returns:
      The Cluster name.
    • getVersion

      public String getVersion()
      Returns:
      Vault version.
    • getServerTimeUTC

      public Long getServerTimeUTC()
      Returns:
      Server time UTC (timestamp).
    • isStandby

      public Boolean isStandby()
      Returns:
      Server standby status.
    • isSealed

      public Boolean isSealed()
      Returns:
      Server seal status.
    • isInitialized

      public Boolean isInitialized()
      Returns:
      Server initialization status.
    • getReplicationPerfMode

      public String getReplicationPerfMode()
      Returns:
      Replication performance mode of the active node (since Vault 0.9.2).
      Since:
      0.8 (#21)
    • getReplicationDrMode

      public String getReplicationDrMode()
      Returns:
      Replication DR mode of the active node (since Vault 0.9.2).
      Since:
      0.8 (#21)
    • isPerformanceStandby

      public Boolean isPerformanceStandby()
      Returns:
      Performance standby status.
      Since:
      0.8 (#21)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object