Class PolicyNatRuleStatistics.Builder

    • Constructor Detail

    • Method Detail

      • setActiveSessions

        public PolicyNatRuleStatistics.Builder setActiveSessions​(java.lang.Long activeSessions)
        Gives the total number of active sessions. 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:
        activeSessions - New value for the property.
      • setTotalBytes

        public PolicyNatRuleStatistics.Builder setTotalBytes​(java.lang.Long totalBytes)
        Gives the total number of bytes. 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:
        totalBytes - New value for the property.
      • setTotalPackets

        public PolicyNatRuleStatistics.Builder setTotalPackets​(java.lang.Long totalPackets)
        Gives the total number of packets. 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:
        totalPackets - New value for the property.
      • setLastUpdateTimestamp

        public PolicyNatRuleStatistics.Builder setLastUpdateTimestamp​(java.lang.Long lastUpdateTimestamp)
        Timestamp when the data was last updated. 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:
        lastUpdateTimestamp - New value for the property.
      • setWarningMessage

        public PolicyNatRuleStatistics.Builder setWarningMessage​(java.lang.String warningMessage)
        The warning message about the NAT Rule Statistics. 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:
        warningMessage - New value for the property.