Class PacketMonitorStats.Builder

    • Constructor Detail

      • Builder

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

      • setDatapathSystemErrorPacketDrops

        public PacketMonitorStats.Builder setDatapathSystemErrorPacketDrops​(java.lang.Long datapathSystemErrorPacketDrops)
        Packet dropeed due to datapth system error drops. format: int64
        Parameters:
        datapathSystemErrorPacketDrops - New value for the property.
      • setDatapathTotalPacketDropsPps

        public PacketMonitorStats.Builder setDatapathTotalPacketDropsPps​(java.lang.Double datapathTotalPacketDropsPps)
        Datapath total packet drop rate.
        Parameters:
        datapathTotalPacketDropsPps - New value for the property.
      • setLastUpdateTimestamp

        public PacketMonitorStats.Builder setLastUpdateTimestamp​(java.lang.Long lastUpdateTimestamp)
        Timestamp when the data was last updated; unset if data source has never updated the data. 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.
      • setNumberOfPnics

        public PacketMonitorStats.Builder setNumberOfPnics​(java.lang.Long numberOfPnics)
        Number of PNICs in the host. format: int64
        Parameters:
        numberOfPnics - New value for the property.
      • setNumberOfVnics

        public PacketMonitorStats.Builder setNumberOfVnics​(java.lang.Long numberOfVnics)
        Number of VNICs in the host. format: int64
        Parameters:
        numberOfVnics - New value for the property.