Package org.ldaptive
Class ModifyDnRequest.Builder
- java.lang.Object
-
- org.ldaptive.AbstractRequestMessage.AbstractBuilder<ModifyDnRequest.Builder,ModifyDnRequest>
-
- org.ldaptive.ModifyDnRequest.Builder
-
- Enclosing class:
- ModifyDnRequest
public static class ModifyDnRequest.Builder extends AbstractRequestMessage.AbstractBuilder<ModifyDnRequest.Builder,ModifyDnRequest>
Modify DN 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 ModifyDnRequest.Builder
delete(boolean delete)
Sets whether to delete the old RDN.ModifyDnRequest.Builder
newRDN(String dn)
Sets the new modify ldap DN.ModifyDnRequest.Builder
oldDN(String dn)
Sets the old modify ldap DN.protected ModifyDnRequest.Builder
self()
Returns this builder.ModifyDnRequest.Builder
superior(String dn)
Sets the new superior ldap DN.-
Methods inherited from class org.ldaptive.AbstractRequestMessage.AbstractBuilder
build, controls, responseTimeout
-
-
-
-
Method Detail
-
self
protected ModifyDnRequest.Builder self()
Description copied from class:AbstractRequestMessage.AbstractBuilder
Returns this builder.- Specified by:
self
in classAbstractRequestMessage.AbstractBuilder<ModifyDnRequest.Builder,ModifyDnRequest>
- Returns:
- builder
-
oldDN
public ModifyDnRequest.Builder oldDN(String dn)
Sets the old modify ldap DN.- Parameters:
dn
- ldap DN- Returns:
- this builder
-
newRDN
public ModifyDnRequest.Builder newRDN(String dn)
Sets the new modify ldap DN.- Parameters:
dn
- ldap DN- Returns:
- this builder
-
delete
public ModifyDnRequest.Builder delete(boolean delete)
Sets whether to delete the old RDN.- Parameters:
delete
- whether to delete the old RDN- Returns:
- this builder
-
superior
public ModifyDnRequest.Builder superior(String dn)
Sets the new superior ldap DN.- Parameters:
dn
- ldap DN- Returns:
- this builder
-
-