Class NsxTDNSForwarderStatus.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of NsxTDNSForwarderStatus.
    • Method Detail

      • setExtraMessage

        public NsxTDNSForwarderStatus.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.
        Parameters:
        extraMessage - New value for the property.
      • setStatus

        public NsxTDNSForwarderStatus.Builder setStatus​(java.lang.String status)
        Possible values are: UP means the DNS forwarder is working correctly on the active transport node and the stand-by transport node (if present). Failover will occur if either node goes down. DOWN means the DNS forwarder is down on both active transport node and standby node (if present). The DNS forwarder does not function in this situation. Error means there is some error on one or both transport node, or no status was reported from one or both transport nodes. The DNS forwarder may be working (or not working). NO_BACKUP means DNS forwarder is working in only one transport node, either because it is down on the standby node, or no standby is configured. An forwarder outage will occur if the active node goes down. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        status - New value for the property.
      • setTimestamp

        public NsxTDNSForwarderStatus.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.
        Parameters:
        timestamp - New value for the property.
      • setEnforcementPointPath

        public NsxTDNSForwarderStatus.Builder setEnforcementPointPath​(java.lang.String enforcementPointPath)
        Policy path referencing the enforcement point from where the status is fetched. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        enforcementPointPath - New value for the property.