Class PolicyNATRuleCounters.Builder

    • Constructor Detail

      • Builder

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

      • setActiveSessions

        public PolicyNATRuleCounters.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 PolicyNATRuleCounters.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 PolicyNATRuleCounters.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.