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.Indicates 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.- Returns:
- name
-
setRegion
-
getRegion
Get region- Returns:
- region
-
setIsSlave
-
getIsSlave
Deprecated.Included to support legacy applications. Do not rely on this attribute being present in the response. Use `is_replica` instead.- Returns:
- isSlave
-
setIsReplica
-
getIsReplica
Indicates whether this server is a replica of another server.- Returns:
- isReplica
-
setCluster
-
getCluster
Name of the cluster to which this server belongs.- Returns:
- cluster
-
setStatus
-
getStatus
Get status- Returns:
- status
-
setType
-
getType
Get type- Returns:
- type
-
equals
-
hashCode
public int hashCode() -
toString
-