VICredential Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. models. VICredential
- com.
public final class VICredential
Username / Password Credentials to connect to vcenter.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| VICredential() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
password()
Get the password property: Gets or sets the password to connect with the v |
| String |
username()
Get the username property: Gets or sets username to connect with the v |
| void |
validate()
Validates the instance. |
| VICredential |
withPassword(String password)
Set the password property: Gets or sets the password to connect with the v |
| VICredential |
withUsername(String username)
Set the username property: Gets or sets username to connect with the v |
Methods inherited from java.lang.Object
Constructor Details
VICredential
public VICredential()
Method Details
password
public String password()
Get the password property: Gets or sets the password to connect with the vCenter.
Returns:
username
public String username()
Get the username property: Gets or sets username to connect with the vCenter.
Returns:
validate
public void validate()
Validates the instance.
withPassword
public VICredential withPassword(String password)
Set the password property: Gets or sets the password to connect with the vCenter.
Parameters:
Returns:
withUsername
public VICredential withUsername(String username)
Set the username property: Gets or sets username to connect with the vCenter.
Parameters:
Returns: