Class Server

java.lang.Object
com.algolia.model.monitoring.Server

public class Server extends Object
Server
  • Constructor Details

    • Server

      public Server()
  • Method Details

    • setName

      public Server setName(String name)
    • getName

      @Nullable public String getName()
      Server name.
    • setRegion

      public Server setRegion(Region region)
    • getRegion

      @Nullable public Region getRegion()
      Get region
    • setIsSlave

      public Server setIsSlave(Boolean isSlave)
    • getIsSlave

      @Deprecated @Nullable public Boolean getIsSlave()
      Deprecated.
      Included to support legacy applications. Use `is_replica` instead.
    • setIsReplica

      public Server setIsReplica(Boolean isReplica)
    • getIsReplica

      @Nullable public Boolean getIsReplica()
      Whether this server is a replica of another server.
    • setCluster

      public Server setCluster(String cluster)
    • getCluster

      @Nullable public String getCluster()
      Name of the cluster to which this server belongs.
    • setStatus

      public Server setStatus(ServerStatus status)
    • getStatus

      @Nullable public ServerStatus getStatus()
      Get status
    • setType

      public Server setType(Type type)
    • getType

      @Nullable public Type getType()
      Get type
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object