Package com.yahoo.document.config
Class DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder
- java.lang.Object
-
- com.yahoo.document.config.DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- DocumenttypesConfig.Documenttype.Datatype.Sstruct
public static class DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder extends Object implements com.yahoo.config.ConfigBuilder
-
-
Field Summary
Fields Modifier and Type Field Description DocumenttypesConfig.Documenttype.Datatype.Sstruct.Compression.Builder
compression
List<DocumenttypesConfig.Documenttype.Datatype.Sstruct.Field.Builder>
field
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DocumenttypesConfig.Documenttype.Datatype.Sstruct config)
-
Method Summary
-
-
-
Field Detail
-
compression
public DocumenttypesConfig.Documenttype.Datatype.Sstruct.Compression.Builder compression
-
field
public List<DocumenttypesConfig.Documenttype.Datatype.Sstruct.Field.Builder> field
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DocumenttypesConfig.Documenttype.Datatype.Sstruct config)
-
-
Method Detail
-
name
public DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder name(String __value)
-
version
public DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder version(int __value)
-
compression
public DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder compression(DocumenttypesConfig.Documenttype.Datatype.Sstruct.Compression.Builder __builder)
-
compression
public DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder compression(Consumer<DocumenttypesConfig.Documenttype.Datatype.Sstruct.Compression.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
-
field
public DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder field(DocumenttypesConfig.Documenttype.Datatype.Sstruct.Field.Builder __builder)
Add the given builder to this builder's list of Field builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
field
public DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder field(Consumer<DocumenttypesConfig.Documenttype.Datatype.Sstruct.Field.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
-
field
public DocumenttypesConfig.Documenttype.Datatype.Sstruct.Builder field(List<DocumenttypesConfig.Documenttype.Datatype.Sstruct.Field.Builder> __builders)
Set the given list as this builder's list of Field builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
public DocumenttypesConfig.Documenttype.Datatype.Sstruct build()
-
-