Package com.vmware.nsx_policy.model
Class IdentityGroupInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IdentityGroupInfo.Builder
-
- Enclosing class:
- IdentityGroupInfo
public static final class IdentityGroupInfo.Builder extends java.lang.Object
Builder class forIdentityGroupInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIdentityGroupInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityGroupInfo
build()
IdentityGroupInfo.Builder
setDistinguishedName(java.lang.String distinguishedName)
Each LDAP object is uniquely identified by its distinguished name (DN).IdentityGroupInfo.Builder
setDomainBaseDistinguishedName(java.lang.String domainBaseDistinguishedName)
This is the base distinguished name for the domain where this particular group resides.IdentityGroupInfo.Builder
setSid(java.lang.String sid)
A security identifier (SID) is a unique value of variable length used to identify a trustee.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIdentityGroupInfo
.
-
-
Method Detail
-
setDistinguishedName
public IdentityGroupInfo.Builder setDistinguishedName(java.lang.String distinguishedName)
Each LDAP object is uniquely identified by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas. e.g. CN=Larry Cole,CN=admin,DC=corp,DC=acme,DC=com. A valid fully qualified distinguished name should be provided to include specific groups else the create / update realization of the Group containing an invalid/ partial DN will fail. This value is valid only if it matches to exactly 1 LDAP object on the LDAP server.- Parameters:
distinguishedName
- New value for the property.
-
setDomainBaseDistinguishedName
public IdentityGroupInfo.Builder setDomainBaseDistinguishedName(java.lang.String domainBaseDistinguishedName)
This is the base distinguished name for the domain where this particular group resides. (e.g. dc=example,dc=com) Each active directory domain has a domain naming context (NC), which contains domain-specific data. The root of this naming context is represented by a domain's distinguished name (DN) and is typically referred to as the NC head.- Parameters:
domainBaseDistinguishedName
- New value for the property.
-
setSid
public IdentityGroupInfo.Builder setSid(java.lang.String sid)
A security identifier (SID) is a unique value of variable length used to identify a trustee. A SID consists of the following components: The revision level of the SID structure; A 48-bit identifier authority value that identifies the authority that issued the SID; A variable number of subauthority or relative identifier (RID) values that uniquely identify the trustee relative to the authority that issued the SID. This field is only populated for Microsoft Active Directory identity store.- Parameters:
sid
- New value for the property.
-
build
public IdentityGroupInfo build()
-
-