public static final class MetadataProxyStatus.Builder
extends java.lang.Object
MetadataProxyStatus
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
MetadataProxyStatus . |
Modifier and Type | Method and Description |
---|---|
MetadataProxyStatus |
build() |
MetadataProxyStatus.Builder |
setErrorMessage(java.lang.String errorMessage)
Error message, if available
|
MetadataProxyStatus.Builder |
setProxyStatus(java.lang.String proxyStatus)
Possible values are:
MetadataProxyStatus.PROXY_STATUS_UP MetadataProxyStatus.PROXY_STATUS_DOWN MetadataProxyStatus.PROXY_STATUS_ERROR MetadataProxyStatus.PROXY_STATUS_NO_BACKUP UP
means the metadata proxy is working fine on both transport-nodes(if have); DOWN
means the metadata proxy is is down on both transport-nodes(if have), hence the
metadata proxy will not repsonse any metadata request; Error means error happens
on transport-node(s) or no status is reported from transport-node(s). |
MetadataProxyStatus.Builder |
setTransportNodes(java.util.List<java.lang.String> transportNodes)
Order of the transport nodes is insensitive because Metadata Proxy is running in
Active-Active mode among target transport nodes.
|
public Builder()
MetadataProxyStatus
.public MetadataProxyStatus.Builder setErrorMessage(java.lang.String errorMessage)
errorMessage
- New value for the property.public MetadataProxyStatus.Builder setProxyStatus(java.lang.String proxyStatus)
proxyStatus
- New value for the property.public MetadataProxyStatus.Builder setTransportNodes(java.util.List<java.lang.String> transportNodes)
transportNodes
- New value for the property.public MetadataProxyStatus build()