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 DnAttributeEntryHandler
object
DN attribute entry handler to build.
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnAttributeEntryHandler.Builder
addIfExists(boolean b)
Sets the add if exists.DnAttributeEntryHandler
build()
Returns the DN attribute entry handler.DnAttributeEntryHandler.Builder
dnAttributeName(String name)
Sets the DN attribute name.DnAttributeEntryHandler.Builder
freeze()
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
-
-