Class CacheActiveDirectorySettingsCredentials

java.lang.Object
com.azure.resourcemanager.storagecache.models.CacheActiveDirectorySettingsCredentials

public final class CacheActiveDirectorySettingsCredentials extends Object
Active Directory admin credentials used to join the HPC Cache to a domain.
  • Constructor Details

    • CacheActiveDirectorySettingsCredentials

      public CacheActiveDirectorySettingsCredentials()
  • Method Details

    • username

      public String 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

      public CacheActiveDirectorySettingsCredentials withUsername(String username)
      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

      public String 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

      public CacheActiveDirectorySettingsCredentials withPassword(String password)
      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.