Package com.vmware.nsx_policy.model
Class CompatibilityCheckResult.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.CompatibilityCheckResult.Builder
-
- Enclosing class:
- CompatibilityCheckResult
public static final class CompatibilityCheckResult.Builder extends java.lang.ObjectBuilder class forCompatibilityCheckResult.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofCompatibilityCheckResult.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompatibilityCheckResultbuild()CompatibilityCheckResult.BuildersetLocalNsxVersion(java.lang.String localNsxVersion)Local Site NSX version where active Global Mananger is running.CompatibilityCheckResult.BuildersetNsxVersion(java.lang.String nsxVersion)Remote Site NSX version.CompatibilityCheckResult.BuildersetRtt(java.lang.Long rtt)Round trip time to the remote Site or Global Manager from active Global Manager.CompatibilityCheckResult.BuildersetRttExceeded(java.lang.Boolean rttExceeded)Flag to indicate if RTT to remote Site exceeds the recommended limit.CompatibilityCheckResult.BuildersetVersionCompatible(java.lang.Boolean versionCompatible)Flag to indicate if remote Site NSX version is compatible with active Global Manager.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofCompatibilityCheckResult.
-
-
Method Detail
-
setLocalNsxVersion
public CompatibilityCheckResult.Builder setLocalNsxVersion(java.lang.String localNsxVersion)
Local Site NSX version where active Global Mananger is running. 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:
localNsxVersion- New value for the property.
-
setNsxVersion
public CompatibilityCheckResult.Builder setNsxVersion(java.lang.String nsxVersion)
Remote Site NSX version. 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:
nsxVersion- New value for the property.
-
setRtt
public CompatibilityCheckResult.Builder setRtt(java.lang.Long rtt)
Round trip time to the remote Site or Global Manager from active Global Manager. 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:
rtt- New value for the property.
-
setRttExceeded
public CompatibilityCheckResult.Builder setRttExceeded(java.lang.Boolean rttExceeded)
Flag to indicate if RTT to remote Site exceeds the recommended limit. 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:
rttExceeded- New value for the property.
-
setVersionCompatible
public CompatibilityCheckResult.Builder setVersionCompatible(java.lang.Boolean versionCompatible)
Flag to indicate if remote Site NSX version is compatible with active Global Manager. 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:
versionCompatible- New value for the property.
-
build
public CompatibilityCheckResult build()
-
-