Class VmmServerPropertiesCredentials
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.VmmServerPropertiesCredentials
-
public final class VmmServerPropertiesCredentials extends Object
Credentials to connect to VMMServer.
-
-
Constructor Summary
Constructors Constructor Description VmmServerPropertiesCredentials()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
username
public String username()
Get the username property: Username to use to connect to VMMServer.- Returns:
- the username value.
-
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.
-
password
public String password()
Get the password property: Credentials to use to connect to VMMServer.- Returns:
- the password value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-