Package com.vmware.nsx_policy.model
Class DirectoryOrgUnit.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DirectoryOrgUnit.Builder
-
- Enclosing class:
- DirectoryOrgUnit
public static final class DirectoryOrgUnit.Builder extends java.lang.Object
Builder class forDirectoryOrgUnit
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDirectoryOrgUnit
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryOrgUnit
build()
DirectoryOrgUnit.Builder
setChildren(java.util.List<DirectoryOrgUnit> children)
List of children Organization Units if any.DirectoryOrgUnit.Builder
setDistinguishedName(java.lang.String distinguishedName)
Distinguished name of the organization unit.DirectoryOrgUnit.Builder
setName(java.lang.String name)
Organization Unit name.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDirectoryOrgUnit
.
-
-
Method Detail
-
setChildren
public DirectoryOrgUnit.Builder setChildren(java.util.List<DirectoryOrgUnit> children)
List of children Organization Units if any.- Parameters:
children
- New value for the property.
-
setDistinguishedName
public DirectoryOrgUnit.Builder setDistinguishedName(java.lang.String distinguishedName)
Distinguished name of the organization unit.- Parameters:
distinguishedName
- New value for the property.
-
setName
public DirectoryOrgUnit.Builder setName(java.lang.String name)
Organization Unit name.- Parameters:
name
- New value for the property.
-
build
public DirectoryOrgUnit build()
-
-