Package com.vmware.nsx_policy.model
Class NsxtUpstreamServerStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NsxtUpstreamServerStatistics.Builder
-
- Enclosing class:
- NsxtUpstreamServerStatistics
public static final class NsxtUpstreamServerStatistics.Builder extends java.lang.Object
Builder class forNsxtUpstreamServerStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofNsxtUpstreamServerStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NsxtUpstreamServerStatistics
build()
NsxtUpstreamServerStatistics.Builder
setQueriesFailed(java.lang.Long queriesFailed)
Queries failed to forward.NsxtUpstreamServerStatistics.Builder
setQueriesSucceeded(java.lang.Long queriesSucceeded)
Queries forwarded successfully 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.NsxtUpstreamServerStatistics.Builder
setUpstreamServer(java.lang.String upstreamServer)
Upstream server ip format: ip 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 ofNsxtUpstreamServerStatistics
.
-
-
Method Detail
-
setQueriesFailed
public NsxtUpstreamServerStatistics.Builder setQueriesFailed(java.lang.Long queriesFailed)
Queries failed to forward. 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:
queriesFailed
- New value for the property.
-
setQueriesSucceeded
public NsxtUpstreamServerStatistics.Builder setQueriesSucceeded(java.lang.Long queriesSucceeded)
Queries forwarded successfully 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:
queriesSucceeded
- New value for the property.
-
setUpstreamServer
public NsxtUpstreamServerStatistics.Builder setUpstreamServer(java.lang.String upstreamServer)
Upstream server ip format: ip 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:
upstreamServer
- New value for the property.
-
build
public NsxtUpstreamServerStatistics build()
-
-