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