Package com.vmware.nsx_policy.model
Class NSXVConnectionInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NSXVConnectionInfo.Builder
-
- Enclosing class:
- NSXVConnectionInfo
public static final class NSXVConnectionInfo.Builder extends java.lang.ObjectBuilder class forNSXVConnectionInfo.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofNSXVConnectionInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NSXVConnectionInfobuild()NSXVConnectionInfo.BuildersetEnforcementPointAddress(java.lang.String enforcementPointAddress)Value of this property could be Hostname or IP.NSXVConnectionInfo.BuildersetPassword(java.lang.String password)Password.NSXVConnectionInfo.BuildersetThumbprint(java.lang.String thumbprint)Thumbprint of EnforcementPoint in the form of a SHA-256 hash represented in lower case HEX.NSXVConnectionInfo.BuildersetUsername(java.lang.String username)Username.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNSXVConnectionInfo.
-
-
Method Detail
-
setPassword
public NSXVConnectionInfo.Builder setPassword(java.lang.String password)
Password.- Parameters:
password- New value for the property.
-
setThumbprint
public NSXVConnectionInfo.Builder setThumbprint(java.lang.String thumbprint)
Thumbprint of EnforcementPoint in the form of a SHA-256 hash represented in lower case HEX.- Parameters:
thumbprint- New value for the property.
-
setUsername
public NSXVConnectionInfo.Builder setUsername(java.lang.String username)
Username.- Parameters:
username- New value for the property.
-
setEnforcementPointAddress
public NSXVConnectionInfo.Builder setEnforcementPointAddress(java.lang.String enforcementPointAddress)
Value of this property could be Hostname or IP. For instance: - On an NSX-T MP running on default port, the value could be \"10.192.1.1\" - On an NSX-T MP running on custom port, the value could be \"192.168.1.1:32789\" - On an NSX-T MP in VMC deployments, the value could be \"192.168.1.1:5480/nsxapi\"- Parameters:
enforcementPointAddress- New value for the property.
-
build
public NSXVConnectionInfo build()
-
-