Package com.yahoo.document.config
Class DocumenttypesConfig.Documenttype.Datatype.Map.Builder
java.lang.Object
com.yahoo.document.config.DocumenttypesConfig.Documenttype.Datatype.Map.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- DocumenttypesConfig.Documenttype.Datatype.Map
public static class DocumenttypesConfig.Documenttype.Datatype.Map.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Make a new builder and run the supplied function on it before adding it to the listMake a new builder and run the supplied function on it before adding it to the list
-
Field Details
-
key
-
value
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
key
-
key
public DocumenttypesConfig.Documenttype.Datatype.Map.Builder key(Consumer<DocumenttypesConfig.Documenttype.Datatype.Map.Key.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
value
-
value
public DocumenttypesConfig.Documenttype.Datatype.Map.Builder value(Consumer<DocumenttypesConfig.Documenttype.Datatype.Map.Value.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
build
-