public static final class NsxTDNSForwarderStatistics.Builder
extends java.lang.Object
NsxTDNSForwarderStatistics
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NsxTDNSForwarderStatistics . |
Modifier and Type | Method and Description |
---|---|
NsxTDNSForwarderStatistics |
build() |
NsxTDNSForwarderStatistics.Builder |
setCachedEntries(java.lang.Long cachedEntries)
The total number of cached entries 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.
|
NsxTDNSForwarderStatistics.Builder |
setConditionalForwarderStatistics(java.util.List<NsxTDNSForwarderZoneStatistics> conditionalForwarderStatistics)
The statistics of conditional forwarder zones
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NsxTDNSForwarderStatistics.Builder |
setConfiguredCacheSize(java.lang.Long configuredCacheSize)
The configured cache size, in kb 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.
|
NsxTDNSForwarderStatistics.Builder |
setDefaultForwarderStatistics(NsxTDNSForwarderZoneStatistics defaultForwarderStatistics) |
NsxTDNSForwarderStatistics.Builder |
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy path referencing the enforcement point from where the statistics are
fetched.
|
NsxTDNSForwarderStatistics.Builder |
setQueriesAnsweredLocally(java.lang.Long queriesAnsweredLocally)
The total number of queries answered from local cache 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.
|
NsxTDNSForwarderStatistics.Builder |
setQueriesForwarded(java.lang.Long queriesForwarded)
The total number of forwarded DNS queries 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.
|
NsxTDNSForwarderStatistics.Builder |
setTimestamp(java.lang.Long timestamp)
Time stamp of the current statistics, in ms 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.
|
NsxTDNSForwarderStatistics.Builder |
setTotalQueries(java.lang.Long totalQueries)
The total number of received DNS queries 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.
|
NsxTDNSForwarderStatistics.Builder |
setUsedCacheStatistics(java.util.List<NsxtPerNodeUsedCacheStatistics> usedCacheStatistics)
The statistics of used cache
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
NsxTDNSForwarderStatistics
.public NsxTDNSForwarderStatistics.Builder setCachedEntries(java.lang.Long cachedEntries)
cachedEntries
- New value for the property.public NsxTDNSForwarderStatistics.Builder setConditionalForwarderStatistics(java.util.List<NsxTDNSForwarderZoneStatistics> conditionalForwarderStatistics)
conditionalForwarderStatistics
- New value for the property.public NsxTDNSForwarderStatistics.Builder setConfiguredCacheSize(java.lang.Long configuredCacheSize)
configuredCacheSize
- New value for the property.public NsxTDNSForwarderStatistics.Builder setDefaultForwarderStatistics(NsxTDNSForwarderZoneStatistics defaultForwarderStatistics)
defaultForwarderStatistics
- New value for the property.public NsxTDNSForwarderStatistics.Builder setQueriesAnsweredLocally(java.lang.Long queriesAnsweredLocally)
queriesAnsweredLocally
- New value for the property.public NsxTDNSForwarderStatistics.Builder setQueriesForwarded(java.lang.Long queriesForwarded)
queriesForwarded
- New value for the property.public NsxTDNSForwarderStatistics.Builder setTimestamp(java.lang.Long timestamp)
timestamp
- New value for the property.public NsxTDNSForwarderStatistics.Builder setTotalQueries(java.lang.Long totalQueries)
totalQueries
- New value for the property.public NsxTDNSForwarderStatistics.Builder setUsedCacheStatistics(java.util.List<NsxtPerNodeUsedCacheStatistics> usedCacheStatistics)
usedCacheStatistics
- New value for the property.public NsxTDNSForwarderStatistics.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
enforcementPointPath
- New value for the property.public NsxTDNSForwarderStatistics build()