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