Class L2VPNTapStatistics.Builder

    • Constructor Detail

      • Builder

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

      • setBytesIn

        public L2VPNTapStatistics.Builder setBytesIn​(java.lang.Long bytesIn)
        Total number of incoming 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:
        bytesIn - New value for the property.
      • setBytesOut

        public L2VPNTapStatistics.Builder setBytesOut​(java.lang.Long bytesOut)
        Total number of outgoing 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:
        bytesOut - New value for the property.
      • setPacketsIn

        public L2VPNTapStatistics.Builder setPacketsIn​(java.lang.Long packetsIn)
        Total number of incoming 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:
        packetsIn - New value for the property.
      • setPacketsOut

        public L2VPNTapStatistics.Builder setPacketsOut​(java.lang.Long packetsOut)
        Total number of outgoing 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:
        packetsOut - New value for the property.
      • setPacketsReceiveError

        public L2VPNTapStatistics.Builder setPacketsReceiveError​(java.lang.Long packetsReceiveError)
        Total number of incoming packets dropped. 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:
        packetsReceiveError - New value for the property.
      • setPacketsSentError

        public L2VPNTapStatistics.Builder setPacketsSentError​(java.lang.Long packetsSentError)
        Total number of packets dropped while sending for any reason. 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:
        packetsSentError - New value for the property.