Package com.vmware.nsx_policy.model
Class NsxTDNSForwarderStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NsxTDNSForwarderStatistics.Builder
-
- Enclosing class:
- NsxTDNSForwarderStatistics
public static final class NsxTDNSForwarderStatistics.Builder extends java.lang.Object
Builder class forNsxTDNSForwarderStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofNsxTDNSForwarderStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNsxTDNSForwarderStatistics
.
-
-
Method Detail
-
setCachedEntries
public 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.- Parameters:
cachedEntries
- New value for the property.
-
setConditionalForwarderStatistics
public 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.- Parameters:
conditionalForwarderStatistics
- New value for the property.
-
setConfiguredCacheSize
public 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.- Parameters:
configuredCacheSize
- New value for the property.
-
setDefaultForwarderStatistics
public NsxTDNSForwarderStatistics.Builder setDefaultForwarderStatistics(NsxTDNSForwarderZoneStatistics defaultForwarderStatistics)
- Parameters:
defaultForwarderStatistics
- New value for the property.
-
setQueriesAnsweredLocally
public 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.- Parameters:
queriesAnsweredLocally
- New value for the property.
-
setQueriesForwarded
public 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.- Parameters:
queriesForwarded
- New value for the property.
-
setTimestamp
public 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.- Parameters:
timestamp
- New value for the property.
-
setTotalQueries
public 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.- Parameters:
totalQueries
- New value for the property.
-
setUsedCacheStatistics
public 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.- Parameters:
usedCacheStatistics
- New value for the property.
-
setEnforcementPointPath
public NsxTDNSForwarderStatistics.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy path referencing the enforcement point from where the statistics are fetched. 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:
enforcementPointPath
- New value for the property.
-
build
public NsxTDNSForwarderStatistics build()
-
-