Package org.ldaptive.handler
Class DnAttributeEntryHandler.Builder
- java.lang.Object
-
- org.ldaptive.handler.DnAttributeEntryHandler.Builder
-
- Enclosing class:
- DnAttributeEntryHandler
public static final class DnAttributeEntryHandler.Builder extends Object
DN attribute entry handler builder.
-
-
Field Summary
Fields Modifier and Type Field Description private DnAttributeEntryHandlerobjectDN attribute entry handler to build.
-
Constructor Summary
Constructors Modifier Constructor Description privateBuilder()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnAttributeEntryHandler.BuilderaddIfExists(boolean b)Sets the add if exists.DnAttributeEntryHandlerbuild()Returns the DN attribute entry handler.DnAttributeEntryHandler.BuilderdnAttributeName(String name)Sets the DN attribute name.DnAttributeEntryHandler.Builderfreeze()Makes this instance immutable.
-
-
-
Field Detail
-
object
private final DnAttributeEntryHandler object
DN attribute entry handler to build.
-
-
Method Detail
-
freeze
public DnAttributeEntryHandler.Builder freeze()
Makes this instance immutable.- Returns:
- this builder
-
dnAttributeName
public DnAttributeEntryHandler.Builder dnAttributeName(String name)
Sets the DN attribute name.- Parameters:
name- DN attribute name- Returns:
- this builder
-
addIfExists
public DnAttributeEntryHandler.Builder addIfExists(boolean b)
Sets the add if exists.- Parameters:
b- add if exists- Returns:
- this builder
-
build
public DnAttributeEntryHandler build()
Returns the DN attribute entry handler.- Returns:
- DN attribute entry handler
-
-