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 Summary
Constructors Constructor Description CacheUsernameDownloadSettingsCredentials()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
bindDn()
Get the bindDn property: The Bind Distinguished Name identity to be used in the secure LDAP connection.String
bindPassword()
Get the bindPassword property: The Bind password to be used in the secure LDAP connection.void
validate()
Validates the instance.CacheUsernameDownloadSettingsCredentials
withBindDn(String bindDn)
Set the bindDn property: The Bind Distinguished Name identity to be used in the secure LDAP connection.CacheUsernameDownloadSettingsCredentials
withBindPassword(String bindPassword)
Set the bindPassword property: The Bind password to be used in the secure LDAP connection.
-
-
-
Method Detail
-
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
public CacheUsernameDownloadSettingsCredentials withBindDn(String bindDn)
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.
-
-