Package org.ldaptive
Class CompareRequest.Builder
- java.lang.Object
-
- org.ldaptive.AbstractRequestMessage.AbstractBuilder<CompareRequest.Builder,CompareRequest>
-
- org.ldaptive.CompareRequest.Builder
-
- Enclosing class:
- CompareRequest
public static class CompareRequest.Builder extends AbstractRequestMessage.AbstractBuilder<CompareRequest.Builder,CompareRequest>
Compare 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 CompareRequest.Builder
dn(String dn)
Sets the ldap DN.CompareRequest.Builder
name(String name)
Sets the attribute description.protected CompareRequest.Builder
self()
Returns this builder.CompareRequest.Builder
value(String value)
Sets the assertion value.-
Methods inherited from class org.ldaptive.AbstractRequestMessage.AbstractBuilder
build, controls, responseTimeout
-
-
-
-
Method Detail
-
self
protected CompareRequest.Builder self()
Description copied from class:AbstractRequestMessage.AbstractBuilder
Returns this builder.- Specified by:
self
in classAbstractRequestMessage.AbstractBuilder<CompareRequest.Builder,CompareRequest>
- Returns:
- builder
-
dn
public CompareRequest.Builder dn(String dn)
Sets the ldap DN.- Parameters:
dn
- ldap DN- Returns:
- this builder
-
name
public CompareRequest.Builder name(String name)
Sets the attribute description.- Parameters:
name
- attribute description- Returns:
- this builder
-
value
public CompareRequest.Builder value(String value)
Sets the assertion value.- Parameters:
value
- assertion value- Returns:
- this builder
-
-