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)
(package private) LdapAttribute.Builder
binaryValuesInternal(Collection<byte[]> values)
LdapAttribute
build()
LdapAttribute.Builder
freeze()
LdapAttribute.Builder
name(String name)
LdapAttribute.Builder
stringValues(Collection<String> values)
LdapAttribute.Builder
values(byte[]... values)
LdapAttribute.Builder
values(String... values)
<T> LdapAttribute.Builder
values(Function<T,byte[]> func, T... value)
-
-
-
Field Detail
-
object
private final LdapAttribute object
-
-
Method Detail
-
freeze
public LdapAttribute.Builder freeze()
-
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)
-
binaryValuesInternal
LdapAttribute.Builder binaryValuesInternal(Collection<byte[]> values)
-
values
public LdapAttribute.Builder values(String... values)
-
stringValues
public LdapAttribute.Builder stringValues(Collection<String> values)
-
binary
public LdapAttribute.Builder binary(boolean b)
-
build
public LdapAttribute build()
-
-