Package com.algolia.model.monitoring
Class Server
java.lang.Object
com.algolia.model.monitoring.Server
Server
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the cluster to which this server belongs.Whether this server is a replica of another server.Deprecated.getName()
Server name.Get regionGet statusgetType()
Get typeint
hashCode()
setCluster
(String cluster) setIsReplica
(Boolean isReplica) setIsSlave
(Boolean isSlave) setStatus
(ServerStatus status) toString()
-
Constructor Details
-
Server
public Server()
-
-
Method Details
-
setName
-
getName
Server name. -
setRegion
-
getRegion
Get region -
setIsSlave
-
getIsSlave
Deprecated.Included to support legacy applications. Use `is_replica` instead. -
setIsReplica
-
getIsReplica
Whether this server is a replica of another server. -
setCluster
-
getCluster
Name of the cluster to which this server belongs. -
setStatus
-
getStatus
Get status -
setType
-
getType
Get type -
equals
-
hashCode
public int hashCode() -
toString
-