Class LdapSearchScopeOpt
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.LdapSearchScopeOpt
-
public final class LdapSearchScopeOpt extends Object
LDAP search scope.
-
-
Constructor Summary
Constructors Constructor Description LdapSearchScopeOpt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
groupDN()
Get the groupDN property: This specifies the group DN, which overrides the base DN for group lookups.String
groupMembershipFilter()
Get the groupMembershipFilter property: This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.String
userDN()
Get the userDN property: This specifies the user DN, which overrides the base DN for user lookups.void
validate()
Validates the instance.LdapSearchScopeOpt
withGroupDN(String groupDN)
Set the groupDN property: This specifies the group DN, which overrides the base DN for group lookups.LdapSearchScopeOpt
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.LdapSearchScopeOpt
withUserDN(String userDN)
Set the userDN property: This specifies the user DN, which overrides the base DN for user lookups.
-
-
-
Method Detail
-
userDN
public String userDN()
Get the userDN property: This specifies the user DN, which overrides the base DN for user lookups.- Returns:
- the userDN value.
-
withUserDN
public LdapSearchScopeOpt withUserDN(String userDN)
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
public String groupDN()
Get the groupDN property: This specifies the group DN, which overrides the base DN for group lookups.- Returns:
- the groupDN value.
-
withGroupDN
public LdapSearchScopeOpt withGroupDN(String groupDN)
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
public String 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
public LdapSearchScopeOpt 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.- 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.
-
-