VmmServerPropertiesCredentials Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.VmmServerPropertiesCredentials

public final class VmmServerPropertiesCredentials

Credentials to connect to VMMServer.

Constructor Summary

Constructor Description
VmmServerPropertiesCredentials()

Method Summary

Modifier and Type Method and Description
String password()

Get the password property: Credentials to use to connect to VMMServer.

String username()

Get the username property: Username to use to connect to VMMServer.

void validate()

Validates the instance.

VmmServerPropertiesCredentials withPassword(String password)

Set the password property: Credentials to use to connect to VMMServer.

VmmServerPropertiesCredentials withUsername(String username)

Set the username property: Username to use to connect to VMMServer.

Methods inherited from java.lang.Object

Constructor Details

VmmServerPropertiesCredentials

public VmmServerPropertiesCredentials()

Method Details

password

public String password()

Get the password property: Credentials to use to connect to VMMServer.

Returns:

the password value.

username

public String username()

Get the username property: Username to use to connect to VMMServer.

Returns:

the username value.

validate

public void validate()

Validates the instance.

withPassword

public VmmServerPropertiesCredentials withPassword(String password)

Set the password property: Credentials to use to connect to VMMServer.

Parameters:

password - the password value to set.

Returns:

the VmmServerPropertiesCredentials object itself.

withUsername

public VmmServerPropertiesCredentials withUsername(String username)

Set the username property: Username to use to connect to VMMServer.

Parameters:

username - the username value to set.

Returns:

the VmmServerPropertiesCredentials object itself.

Applies to