public static final class LdapIdentitySourceSearchResultItem.Builder
extends java.lang.Object
LdapIdentitySourceSearchResultItem.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
LdapIdentitySourceSearchResultItem. |
| Modifier and Type | Method and Description |
|---|---|
LdapIdentitySourceSearchResultItem |
build() |
LdapIdentitySourceSearchResultItem.Builder |
setCommonName(java.lang.String commonName)
The Common Name (CN) of the entry, if available.
|
LdapIdentitySourceSearchResultItem.Builder |
setDn(java.lang.String dn)
Distinguished name (DN) of the entry.
|
LdapIdentitySourceSearchResultItem.Builder |
setPrincipalName(java.lang.String principalName)
For Active Directory (AD) users, this will be the user principal name (UPN), in
the format user@domain.
|
LdapIdentitySourceSearchResultItem.Builder |
setType(java.lang.String type)
Possible values are:
LdapIdentitySourceSearchResultItem.TYPE_USER
LdapIdentitySourceSearchResultItem.TYPE_GROUP
Describes the type of the entry |
public Builder()
LdapIdentitySourceSearchResultItem.public LdapIdentitySourceSearchResultItem.Builder setCommonName(java.lang.String commonName)
commonName - New value for the property.public LdapIdentitySourceSearchResultItem.Builder setDn(java.lang.String dn)
dn - New value for the property.public LdapIdentitySourceSearchResultItem.Builder setPrincipalName(java.lang.String principalName)
principalName - New value for the property.public LdapIdentitySourceSearchResultItem.Builder setType(java.lang.String type)
type - New value for the property.public LdapIdentitySourceSearchResultItem build()