public class Components extends Object
| Constructor and Description |
|---|
Components() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId()
组件id,当组件类型为DN,组件id为6001,则对应的值为dn_6001。
|
String |
getRole()
节点类型,取值为“master”、“slave”,分别对应于主节点、备节点。
|
String |
getStatus()
节点状态。
|
int |
hashCode() |
void |
setId(String id) |
void |
setRole(String role) |
void |
setStatus(String status) |
String |
toString() |
Components |
withId(String id) |
Components |
withRole(String role) |
Components |
withStatus(String status) |
public Components withId(String id)
public String getId()
public void setId(String id)
public Components withRole(String role)
public String getRole()
public void setRole(String role)
public Components withStatus(String status)
public String getStatus()
public void setStatus(String status)
Copyright © 2022. All rights reserved.