Class LdapSearchScopeOpt
java.lang.Object
com.azure.resourcemanager.netapp.models.LdapSearchScopeOpt
LDAP search scope.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongroupDN()
Get the groupDN property: This specifies the group DN, which overrides the base DN for group lookups.Get the groupMembershipFilter property: This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.userDN()
Get the userDN property: This specifies the user DN, which overrides the base DN for user lookups.void
validate()
Validates the instance.withGroupDN
(String groupDN) Set the groupDN property: This specifies the group DN, which overrides the base DN for group lookups.withGroupMembershipFilter
(String groupMembershipFilter) Set the groupMembershipFilter property: This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.withUserDN
(String userDN) Set the userDN property: This specifies the user DN, which overrides the base DN for user lookups.
-
Constructor Details
-
LdapSearchScopeOpt
public LdapSearchScopeOpt()Creates an instance of LdapSearchScopeOpt class.
-
-
Method Details
-
userDN
Get the userDN property: This specifies the user DN, which overrides the base DN for user lookups.- Returns:
- the userDN value.
-
withUserDN
Set the userDN property: This specifies the user DN, which overrides the base DN for user lookups.- Parameters:
userDN
- the userDN value to set.- Returns:
- the LdapSearchScopeOpt object itself.
-
groupDN
Get the groupDN property: This specifies the group DN, which overrides the base DN for group lookups.- Returns:
- the groupDN value.
-
withGroupDN
Set the groupDN property: This specifies the group DN, which overrides the base DN for group lookups.- Parameters:
groupDN
- the groupDN value to set.- Returns:
- the LdapSearchScopeOpt object itself.
-
groupMembershipFilter
Get the groupMembershipFilter property: This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.- Returns:
- the groupMembershipFilter value.
-
withGroupMembershipFilter
Set the groupMembershipFilter property: This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.- Parameters:
groupMembershipFilter
- the groupMembershipFilter value to set.- Returns:
- the LdapSearchScopeOpt object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-