Class CacheActiveDirectorySettingsCredentials
java.lang.Object
com.azure.resourcemanager.storagecache.models.CacheActiveDirectorySettingsCredentials
Active Directory admin credentials used to join the HPC Cache to a domain.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpassword()
Get the password property: Plain text password of the Active Directory domain administrator.username()
Get the username property: Username of the Active Directory domain administrator.void
validate()
Validates the instance.withPassword
(String password) Set the password property: Plain text password of the Active Directory domain administrator.withUsername
(String username) Set the username property: Username of the Active Directory domain administrator.
-
Constructor Details
-
CacheActiveDirectorySettingsCredentials
public CacheActiveDirectorySettingsCredentials()
-
-
Method Details
-
username
Get the username property: Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response.- Returns:
- the username value.
-
withUsername
Set the username property: Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response.- Parameters:
username
- the username value to set.- Returns:
- the CacheActiveDirectorySettingsCredentials object itself.
-
password
Get the password property: Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response.- Returns:
- the password value.
-
withPassword
Set the password property: Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response.- Parameters:
password
- the password value to set.- Returns:
- the CacheActiveDirectorySettingsCredentials object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-