Package com.vmware.nsx_policy.model
Class NsxTDNSForwarderZoneStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NsxTDNSForwarderZoneStatistics.Builder
-
- Enclosing class:
- NsxTDNSForwarderZoneStatistics
public static final class NsxTDNSForwarderZoneStatistics.Builder extends java.lang.Object
Builder class forNsxTDNSForwarderZoneStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofNsxTDNSForwarderZoneStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NsxTDNSForwarderZoneStatistics
build()
NsxTDNSForwarderZoneStatistics.Builder
setDomainNames(java.util.List<java.lang.String> domainNames)
Domain names configured for the forwarder.NsxTDNSForwarderZoneStatistics.Builder
setUpstreamStatistics(java.util.List<NsxtUpstreamServerStatistics> upstreamStatistics)
Statistics per upstream server.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNsxTDNSForwarderZoneStatistics
.
-
-
Method Detail
-
setDomainNames
public NsxTDNSForwarderZoneStatistics.Builder setDomainNames(java.util.List<java.lang.String> domainNames)
Domain names configured for the forwarder. Empty if this is the default forwarder. 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:
domainNames
- New value for the property.
-
setUpstreamStatistics
public NsxTDNSForwarderZoneStatistics.Builder setUpstreamStatistics(java.util.List<NsxtUpstreamServerStatistics> upstreamStatistics)
Statistics per upstream server. 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:
upstreamStatistics
- New value for the property.
-
build
public NsxTDNSForwarderZoneStatistics build()
-
-