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