public static final class SourceNsxApiEndpoint.Builder
extends java.lang.Object
SourceNsxApiEndpoint
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
SourceNsxApiEndpoint . |
Modifier and Type | Method and Description |
---|---|
SourceNsxApiEndpoint |
build() |
SourceNsxApiEndpoint.Builder |
setAuthToken(java.lang.String authToken)
Auth token used to make REST calls to the source NSX API endpoint.
|
SourceNsxApiEndpoint.Builder |
setIp(java.lang.String ip)
IP address or hostname of a source NSX API endpoint.
|
SourceNsxApiEndpoint.Builder |
setNsxPassword(java.lang.String nsxPassword)
Password for connecting to NSX manager.
|
SourceNsxApiEndpoint.Builder |
setNsxSyncrole(java.lang.String nsxSyncrole)
Signifies Universal Sync role status (STANDALONE, PRIMARY, SECONDARY) of a
source NSX API endpoint.
|
SourceNsxApiEndpoint.Builder |
setNsxUsername(java.lang.String nsxUsername)
Username for connecting to NSX manager.
|
SourceNsxApiEndpoint.Builder |
setNsxVersion(java.lang.String nsxVersion)
Build version (major, minor, patch) of a source NSX API endpoint.
|
SourceNsxApiEndpoint.Builder |
setVcIp(java.lang.String vcIp)
IP address or host name of VC.
|
SourceNsxApiEndpoint.Builder |
setVcPassword(java.lang.String vcPassword)
Password for connecting to VC.
|
SourceNsxApiEndpoint.Builder |
setVcPort(java.lang.Long vcPort)
VC port that will be used to fetch details.
|
SourceNsxApiEndpoint.Builder |
setVcUsername(java.lang.String vcUsername)
Username for connecting to VC.
|
SourceNsxApiEndpoint.Builder |
setVcVersion(java.lang.String vcVersion)
Build version of VC.
|
public Builder()
SourceNsxApiEndpoint
.public SourceNsxApiEndpoint.Builder setAuthToken(java.lang.String authToken)
authToken
- New value for the property.public SourceNsxApiEndpoint.Builder setIp(java.lang.String ip)
ip
- New value for the property.public SourceNsxApiEndpoint.Builder setNsxPassword(java.lang.String nsxPassword)
nsxPassword
- New value for the property.public SourceNsxApiEndpoint.Builder setNsxSyncrole(java.lang.String nsxSyncrole)
nsxSyncrole
- New value for the property.public SourceNsxApiEndpoint.Builder setNsxUsername(java.lang.String nsxUsername)
nsxUsername
- New value for the property.public SourceNsxApiEndpoint.Builder setNsxVersion(java.lang.String nsxVersion)
nsxVersion
- New value for the property.public SourceNsxApiEndpoint.Builder setVcIp(java.lang.String vcIp)
vcIp
- New value for the property.public SourceNsxApiEndpoint.Builder setVcPassword(java.lang.String vcPassword)
vcPassword
- New value for the property.public SourceNsxApiEndpoint.Builder setVcPort(java.lang.Long vcPort)
vcPort
- New value for the property.public SourceNsxApiEndpoint.Builder setVcUsername(java.lang.String vcUsername)
vcUsername
- New value for the property.public SourceNsxApiEndpoint.Builder setVcVersion(java.lang.String vcVersion)
vcVersion
- New value for the property.public SourceNsxApiEndpoint build()