Package org.ldaptive.handler
Class DnAttributeEntryHandler.Builder
java.lang.Object
org.ldaptive.handler.DnAttributeEntryHandler.Builder
- Enclosing class:
- DnAttributeEntryHandler
DN attribute entry handler builder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DnAttributeEntryHandlerDN attribute entry handler to build. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIfExists(boolean b) Sets the add if exists.build()Returns the DN attribute entry handler.dnAttributeName(String name) Sets the DN attribute name.freeze()Makes this instance immutable.
-
Field Details
-
object
DN attribute entry handler to build.
-
-
Constructor Details
-
Builder
private Builder()Default constructor.
-
-
Method Details
-
freeze
Makes this instance immutable.- Returns:
- this builder
-
dnAttributeName
Sets the DN attribute name.- Parameters:
name- DN attribute name- Returns:
- this builder
-
addIfExists
Sets the add if exists.- Parameters:
b- add if exists- Returns:
- this builder
-
build
Returns the DN attribute entry handler.- Returns:
- DN attribute entry handler
-