Class CacheUsernameDownloadSettingsCredentials

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

public final class CacheUsernameDownloadSettingsCredentials extends Object
When present, these are the credentials for the secure LDAP connection.
  • Constructor Details

    • CacheUsernameDownloadSettingsCredentials

      public CacheUsernameDownloadSettingsCredentials()
  • Method Details

    • bindDn

      public String bindDn()
      Get the bindDn property: The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.
      Returns:
      the bindDn value.
    • withBindDn

      Set the bindDn property: The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.
      Parameters:
      bindDn - the bindDn value to set.
      Returns:
      the CacheUsernameDownloadSettingsCredentials object itself.
    • bindPassword

      public String bindPassword()
      Get the bindPassword property: The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.
      Returns:
      the bindPassword value.
    • withBindPassword

      public CacheUsernameDownloadSettingsCredentials withBindPassword(String bindPassword)
      Set the bindPassword property: The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.
      Parameters:
      bindPassword - the bindPassword value to set.
      Returns:
      the CacheUsernameDownloadSettingsCredentials object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.