LdapSearchScopeOpt Class

  • java.lang.Object
    • com.azure.resourcemanager.netapp.models.LdapSearchScopeOpt

public final class LdapSearchScopeOpt

LDAP search scope.

Constructor Summary

Constructor Description
LdapSearchScopeOpt()

Creates an instance of LdapSearchScopeOpt class.

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

LdapSearchScopeOpt

public LdapSearchScopeOpt()

Creates an instance of LdapSearchScopeOpt class.

Method Details

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.

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.

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.

validate

public void validate()

Validates the instance.

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.

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.

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.

Applies to