public static final class DnsForwarderStatus.Builder
extends java.lang.Object
DnsForwarderStatus.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
DnsForwarderStatus. |
| Modifier and Type | Method and Description |
|---|---|
DnsForwarderStatus |
build() |
DnsForwarderStatus.Builder |
setActiveNode(java.lang.String activeNode)
Uuid of active transport node
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
DnsForwarderStatus.Builder |
setExtraMessage(java.lang.String extraMessage)
Extra message, if available
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
DnsForwarderStatus.Builder |
setStandbyNode(java.lang.String standbyNode)
Uuid of stand_by transport node.
|
DnsForwarderStatus.Builder |
setStatus(java.lang.String status)
Possible values are:
DnsForwarderStatus.STATUS_UP DnsForwarderStatus.STATUS_DOWN DnsForwarderStatus.STATUS_ERROR DnsForwarderStatus.STATUS_NO_BACKUP UP means
the DNS forwarder is working correctly on the active transport node and the
stand-by transport node (if present). |
DnsForwarderStatus.Builder |
setTimestamp(java.lang.Long timestamp)
Time stamp of the current status, in ms format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
DnsForwarderStatus.public DnsForwarderStatus.Builder setActiveNode(java.lang.String activeNode)
activeNode - New value for the property.public DnsForwarderStatus.Builder setExtraMessage(java.lang.String extraMessage)
extraMessage - New value for the property.public DnsForwarderStatus.Builder setStandbyNode(java.lang.String standbyNode)
standbyNode - New value for the property.public DnsForwarderStatus.Builder setStatus(java.lang.String status)
status - New value for the property.public DnsForwarderStatus.Builder setTimestamp(java.lang.Long timestamp)
timestamp - New value for the property.public DnsForwarderStatus build()