Class CacheUsernameDownloadSettingsCredentials
java.lang.Object
com.azure.resourcemanager.storagecache.models.CacheUsernameDownloadSettingsCredentials
When present, these are the credentials for the secure LDAP connection.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CacheUsernameDownloadSettingsCredentials class. -
Method Summary
Modifier and TypeMethodDescriptionbindDn()
Get the bindDn property: The Bind Distinguished Name identity to be used in the secure LDAP connection.Get the bindPassword property: The Bind password to be used in the secure LDAP connection.void
validate()
Validates the instance.withBindDn
(String bindDn) Set the bindDn property: The Bind Distinguished Name identity to be used in the secure LDAP connection.withBindPassword
(String bindPassword) Set the bindPassword property: The Bind password to be used in the secure LDAP connection.
-
Constructor Details
-
CacheUsernameDownloadSettingsCredentials
public CacheUsernameDownloadSettingsCredentials()Creates an instance of CacheUsernameDownloadSettingsCredentials class.
-
-
Method Details
-
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
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
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.
-