GuestCredential Class

  • java.lang.Object
    • com.azure.resourcemanager.connectedvmware.models.GuestCredential

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.

GuestCredential withPassword(String password)

Set the password property: Gets or sets the password to connect with the guest.

GuestCredential 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:

the password value.

username

public String username()

Get the username property: Gets or sets username to connect with the guest.

Returns:

the username value.

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:

password - the password value to set.

Returns:

the GuestCredential object itself.

withUsername

public GuestCredential withUsername(String username)

Set the username property: Gets or sets username to connect with the guest.

Parameters:

username - the username value to set.

Returns:

the GuestCredential object itself.

Applies to