Package com.vmware.nsx_policy.model
Class DhcpStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DhcpStatistics.Builder
-
- Enclosing class:
- DhcpStatistics
public static final class DhcpStatistics.Builder extends java.lang.Object
Builder class forDhcpStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDhcpStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DhcpStatistics
build()
DhcpStatistics.Builder
setAcks(java.lang.Long acks)
The total number of DHCP ACK packets format: int64DhcpStatistics.Builder
setDeclines(java.lang.Long declines)
The total number of DHCP DECLINE packets format: int64DhcpStatistics.Builder
setDhcpServerId(java.lang.String dhcpServerId)
dhcp server uuidDhcpStatistics.Builder
setDiscovers(java.lang.Long discovers)
The total number of DHCP DISCOVER packets format: int64DhcpStatistics.Builder
setErrors(java.lang.Long errors)
The total number of DHCP errors format: int64DhcpStatistics.Builder
setInforms(java.lang.Long informs)
The total number of DHCP INFORM packets format: int64DhcpStatistics.Builder
setIpPoolStats(java.util.List<DhcpIpPoolUsage> ipPoolStats)
The DHCP ip pool usage statisticsDhcpStatistics.Builder
setNacks(java.lang.Long nacks)
The total number of DHCP NACK packets format: int64DhcpStatistics.Builder
setOffers(java.lang.Long offers)
The total number of DHCP OFFER packets format: int64DhcpStatistics.Builder
setReleases(java.lang.Long releases)
The total number of DHCP RELEASE packets format: int64DhcpStatistics.Builder
setRequests(java.lang.Long requests)
The total number of DHCP REQUEST packets format: int64DhcpStatistics.Builder
setTimestamp(java.lang.Long timestamp)
timestamp of the statistics format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDhcpStatistics
.
-
-
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.
-
build
public DhcpStatistics build()
-
-