Package com.vmware.nsx_policy.model
Class CvxConnectionInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.CvxConnectionInfo.Builder
-
- Enclosing class:
- CvxConnectionInfo
public static final class CvxConnectionInfo.Builder extends java.lang.Object
Builder class forCvxConnectionInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofCvxConnectionInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CvxConnectionInfo
build()
CvxConnectionInfo.Builder
setEnforcementPointAddress(java.lang.String enforcementPointAddress)
Value of this property could be Hostname or IP.CvxConnectionInfo.Builder
setPassword(java.lang.String password)
Password.CvxConnectionInfo.Builder
setThumbprint(java.lang.String thumbprint)
Thumbprint of EnforcementPoint in the form of a SHA-256 hash represented in lower case HEX.CvxConnectionInfo.Builder
setUsername(java.lang.String username)
Username.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofCvxConnectionInfo
.
-
-
Method Detail
-
setPassword
public CvxConnectionInfo.Builder setPassword(java.lang.String password)
Password.- Parameters:
password
- New value for the property.
-
setThumbprint
public CvxConnectionInfo.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 CvxConnectionInfo.Builder setUsername(java.lang.String username)
Username.- Parameters:
username
- New value for the property.
-
setEnforcementPointAddress
public CvxConnectionInfo.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 CvxConnectionInfo build()
-
-