Class DhcpStatistics.Builder

  • Enclosing class:
    DhcpStatistics

    public static final class DhcpStatistics.Builder
    extends java.lang.Object
    Builder class for DhcpStatistics.
    • Constructor Detail

      • Builder

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

      • setAcks

        public DhcpStatistics.Builder setAcks​(java.lang.Long acks)
        The total number of DHCP ACK packets format: int64
        Parameters:
        acks - New value for the property.
      • setDeclines

        public DhcpStatistics.Builder setDeclines​(java.lang.Long declines)
        The total number of DHCP DECLINE packets format: int64
        Parameters:
        declines - New value for the property.
      • setDhcpServerId

        public DhcpStatistics.Builder setDhcpServerId​(java.lang.String dhcpServerId)
        dhcp server uuid
        Parameters:
        dhcpServerId - New value for the property.
      • setDiscovers

        public DhcpStatistics.Builder setDiscovers​(java.lang.Long discovers)
        The total number of DHCP DISCOVER packets format: int64
        Parameters:
        discovers - New value for the property.
      • setErrors

        public DhcpStatistics.Builder setErrors​(java.lang.Long errors)
        The total number of DHCP errors format: int64
        Parameters:
        errors - New value for the property.
      • setInforms

        public DhcpStatistics.Builder setInforms​(java.lang.Long informs)
        The total number of DHCP INFORM packets format: int64
        Parameters:
        informs - New value for the property.
      • setIpPoolStats

        public DhcpStatistics.Builder setIpPoolStats​(java.util.List<DhcpIpPoolUsage> ipPoolStats)
        The DHCP ip pool usage statistics
        Parameters:
        ipPoolStats - New value for the property.
      • setNacks

        public DhcpStatistics.Builder setNacks​(java.lang.Long nacks)
        The total number of DHCP NACK packets format: int64
        Parameters:
        nacks - New value for the property.
      • setOffers

        public DhcpStatistics.Builder setOffers​(java.lang.Long offers)
        The total number of DHCP OFFER packets format: int64
        Parameters:
        offers - New value for the property.
      • setReleases

        public DhcpStatistics.Builder setReleases​(java.lang.Long releases)
        The total number of DHCP RELEASE packets format: int64
        Parameters:
        releases - New value for the property.
      • setRequests

        public DhcpStatistics.Builder setRequests​(java.lang.Long requests)
        The total number of DHCP REQUEST packets format: int64
        Parameters:
        requests - New value for the property.
      • setTimestamp

        public DhcpStatistics.Builder setTimestamp​(java.lang.Long timestamp)
        timestamp of the statistics format: int64
        Parameters:
        timestamp - New value for the property.