Package com.vmware.nsx_policy.model
Class LdapIdentitySourceSearchResultItem.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LdapIdentitySourceSearchResultItem.Builder
-
- Enclosing class:
- LdapIdentitySourceSearchResultItem
public static final class LdapIdentitySourceSearchResultItem.Builder extends java.lang.Object
Builder class forLdapIdentitySourceSearchResultItem
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLdapIdentitySourceSearchResultItem
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLdapIdentitySourceSearchResultItem
.
-
-
Method Detail
-
setCommonName
public LdapIdentitySourceSearchResultItem.Builder setCommonName(java.lang.String commonName)
The Common Name (CN) of the entry, if available.- Parameters:
commonName
- New value for the property.
-
setDn
public LdapIdentitySourceSearchResultItem.Builder setDn(java.lang.String dn)
Distinguished name (DN) of the entry.- Parameters:
dn
- New value for the property.
-
setPrincipalName
public 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. For non-AD users, this will be the user's uid property, followed by \"@\" and the domain of the directory. For groups, this will be the group's common name, followed by \"@\" and the domain of the directory.- Parameters:
principalName
- New value for the property.
-
setType
public LdapIdentitySourceSearchResultItem.Builder setType(java.lang.String type)
Possible values are: Describes the type of the entry- Parameters:
type
- New value for the property.
-
build
public LdapIdentitySourceSearchResultItem build()
-
-