Package org.ldaptive
Class LdapAttribute.Builder
- java.lang.Object
-
- org.ldaptive.LdapAttribute.Builder
-
- Enclosing class:
- LdapAttribute
public static class LdapAttribute.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private LdapAttribute
object
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LdapAttribute.Builder
binary(boolean b)
LdapAttribute.Builder
binaryValues(Collection<byte[]> values)
LdapAttribute.Builder
bufferValues(Collection<ByteBuffer> values)
LdapAttribute
build()
LdapAttribute.Builder
name(String name)
LdapAttribute.Builder
stringValues(Collection<String> values)
LdapAttribute.Builder
values(byte[]... values)
LdapAttribute.Builder
values(String... values)
LdapAttribute.Builder
values(ByteBuffer... values)
<T> LdapAttribute.Builder
values(Function<T,byte[]> func, T... value)
-
-
-
Field Detail
-
object
private final LdapAttribute object
-
-
Method Detail
-
name
public LdapAttribute.Builder name(String name)
-
values
public <T> LdapAttribute.Builder values(Function<T,byte[]> func, T... value)
-
values
public LdapAttribute.Builder values(byte[]... values)
-
binaryValues
public LdapAttribute.Builder binaryValues(Collection<byte[]> values)
-
values
public LdapAttribute.Builder values(String... values)
-
stringValues
public LdapAttribute.Builder stringValues(Collection<String> values)
-
values
public LdapAttribute.Builder values(ByteBuffer... values)
-
bufferValues
public LdapAttribute.Builder bufferValues(Collection<ByteBuffer> values)
-
binary
public LdapAttribute.Builder binary(boolean b)
-
build
public LdapAttribute build()
-
-