Package org.ldaptive
Class ModifyRequest.Builder
- java.lang.Object
-
- org.ldaptive.AbstractRequestMessage.AbstractBuilder<ModifyRequest.Builder,ModifyRequest>
-
- org.ldaptive.ModifyRequest.Builder
-
- Enclosing class:
- ModifyRequest
public static class ModifyRequest.Builder extends AbstractRequestMessage.AbstractBuilder<ModifyRequest.Builder,ModifyRequest>
Modify request builder.
-
-
Field Summary
-
Fields inherited from class org.ldaptive.AbstractRequestMessage.AbstractBuilder
object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyRequest.Builder
dn(String dn)
Sets the ldap DN.ModifyRequest.Builder
modifications(Collection<AttributeModification> mod)
Sets the modifications.ModifyRequest.Builder
modifications(AttributeModification... mod)
Sets the modifications.protected ModifyRequest.Builder
self()
Returns this builder.-
Methods inherited from class org.ldaptive.AbstractRequestMessage.AbstractBuilder
build, controls, responseTimeout
-
-
-
-
Method Detail
-
self
protected ModifyRequest.Builder self()
Description copied from class:AbstractRequestMessage.AbstractBuilder
Returns this builder.- Specified by:
self
in classAbstractRequestMessage.AbstractBuilder<ModifyRequest.Builder,ModifyRequest>
- Returns:
- builder
-
dn
public ModifyRequest.Builder dn(String dn)
Sets the ldap DN.- Parameters:
dn
- ldap DN- Returns:
- this builder
-
modifications
public ModifyRequest.Builder modifications(AttributeModification... mod)
Sets the modifications.- Parameters:
mod
- modifications- Returns:
- this builder
-
modifications
public ModifyRequest.Builder modifications(Collection<AttributeModification> mod)
Sets the modifications.- Parameters:
mod
- modifications- Returns:
- this builder
-
-