Package com.vmware.nsx_policy.model
Class HostNodeLoginCredential.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.HostNodeLoginCredential.Builder
-
- Enclosing class:
- HostNodeLoginCredential
public static final class HostNodeLoginCredential.Builder extends java.lang.Object
Builder class forHostNodeLoginCredential
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofHostNodeLoginCredential
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostNodeLoginCredential
build()
HostNodeLoginCredential.Builder
setPassword(java.lang.String password)
The authentication password of the host nodeHostNodeLoginCredential.Builder
setThumbprint(java.lang.String thumbprint)
For ESXi hosts, the thumbprint of the ESXi management service.HostNodeLoginCredential.Builder
setUsername(java.lang.String username)
The username of the account on the host node
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofHostNodeLoginCredential
.
-
-
Method Detail
-
setPassword
public HostNodeLoginCredential.Builder setPassword(java.lang.String password)
The authentication password of the host node- Parameters:
password
- New value for the property.
-
setThumbprint
public HostNodeLoginCredential.Builder setThumbprint(java.lang.String thumbprint)
For ESXi hosts, the thumbprint of the ESXi management service. For KVM hosts, the SSH key fingerprint. If thumbprint is not provided then connection to host may not be established and API call will fail.- Parameters:
thumbprint
- New value for the property.
-
setUsername
public HostNodeLoginCredential.Builder setUsername(java.lang.String username)
The username of the account on the host node- Parameters:
username
- New value for the property.
-
build
public HostNodeLoginCredential build()
-
-