public static final class DhcpServerStatus.Builder
extends java.lang.Object
DhcpServerStatus.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
DhcpServerStatus. |
| Modifier and Type | Method and Description |
|---|---|
DhcpServerStatus |
build() |
DhcpServerStatus.Builder |
setActiveNode(java.lang.String activeNode)
uuid of active transport node
|
DhcpServerStatus.Builder |
setErrorMessage(java.lang.String errorMessage)
Error message, if available
|
DhcpServerStatus.Builder |
setServiceStatus(java.lang.String serviceStatus)
Possible values are:
DhcpServerStatus.SERVICE_STATUS_UP DhcpServerStatus.SERVICE_STATUS_DOWN
DhcpServerStatus.SERVICE_STATUS_ERROR
DhcpServerStatus.SERVICE_STATUS_NO_STANDBY
UP means the dhcp service is working fine on both active transport-node
and stand-by transport-node (if have), hence fail-over can work at this time if
there is failure happens on one of the transport-node; DOWN means the dhcp
service is down on both active transport-node and stand-by node (if have), hence
the dhcp-service will not repsonse any dhcp request; Error means error happens
on transport-node(s) or no status is reported from transport-node(s). |
DhcpServerStatus.Builder |
setStandByNode(java.lang.String standByNode)
uuid of stand_by transport node.
|
public Builder()
DhcpServerStatus.public DhcpServerStatus.Builder setActiveNode(java.lang.String activeNode)
activeNode - New value for the property.public DhcpServerStatus.Builder setErrorMessage(java.lang.String errorMessage)
errorMessage - New value for the property.public DhcpServerStatus.Builder setServiceStatus(java.lang.String serviceStatus)
serviceStatus - New value for the property.public DhcpServerStatus.Builder setStandByNode(java.lang.String standByNode)
standByNode - New value for the property.public DhcpServerStatus build()