Package com.yahoo.document.config
Class DocumenttypesConfig.Documenttype.Datatype.Builder
- java.lang.Object
-
- com.yahoo.document.config.DocumenttypesConfig.Documenttype.Datatype.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- DocumenttypesConfig.Documenttype.Datatype
public static class DocumenttypesConfig.Documenttype.Datatype.Builder extends Object implements com.yahoo.config.ConfigBuilder
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DocumenttypesConfig.Documenttype.Datatype config)
-
Method Summary
-
-
-
Field Detail
-
array
public DocumenttypesConfig.Documenttype.Datatype.Array.Builder array
-
map
public DocumenttypesConfig.Documenttype.Datatype.Map.Builder map
-
wset
public DocumenttypesConfig.Documenttype.Datatype.Wset.Builder wset
-
annotationref
public DocumenttypesConfig.Documenttype.Datatype.Annotationref.Builder annotationref
-
sstruct
public DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder sstruct
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DocumenttypesConfig.Documenttype.Datatype config)
-
-
Method Detail
-
id
public DocumenttypesConfig.Documenttype.Datatype.Builder id(int __value)
-
type
public DocumenttypesConfig.Documenttype.Datatype.Builder type(DocumenttypesConfig.Documenttype.Datatype.Type.Enum __value)
-
array
public DocumenttypesConfig.Documenttype.Datatype.Builder array(DocumenttypesConfig.Documenttype.Datatype.Array.Builder __builder)
-
array
public DocumenttypesConfig.Documenttype.Datatype.Builder array(Consumer<DocumenttypesConfig.Documenttype.Datatype.Array.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
-
map
public DocumenttypesConfig.Documenttype.Datatype.Builder map(DocumenttypesConfig.Documenttype.Datatype.Map.Builder __builder)
-
map
public DocumenttypesConfig.Documenttype.Datatype.Builder map(Consumer<DocumenttypesConfig.Documenttype.Datatype.Map.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
-
wset
public DocumenttypesConfig.Documenttype.Datatype.Builder wset(DocumenttypesConfig.Documenttype.Datatype.Wset.Builder __builder)
-
wset
public DocumenttypesConfig.Documenttype.Datatype.Builder wset(Consumer<DocumenttypesConfig.Documenttype.Datatype.Wset.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
-
annotationref
public DocumenttypesConfig.Documenttype.Datatype.Builder annotationref(DocumenttypesConfig.Documenttype.Datatype.Annotationref.Builder __builder)
-
annotationref
public DocumenttypesConfig.Documenttype.Datatype.Builder annotationref(Consumer<DocumenttypesConfig.Documenttype.Datatype.Annotationref.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
-
sstruct
public DocumenttypesConfig.Documenttype.Datatype.Builder sstruct(DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder __builder)
-
sstruct
public DocumenttypesConfig.Documenttype.Datatype.Builder sstruct(Consumer<DocumenttypesConfig.Documenttype.Datatype.Sstruct.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
public DocumenttypesConfig.Documenttype.Datatype build()
-
-