Package com.yahoo.document.config
Class DocumentmanagerConfig.Doctype.Builder
- java.lang.Object
-
- com.yahoo.document.config.DocumentmanagerConfig.Doctype.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- DocumentmanagerConfig.Doctype
public static class DocumentmanagerConfig.Doctype.Builder extends Object implements com.yahoo.config.ConfigBuilder
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DocumentmanagerConfig.Doctype config)
-
Method Summary
-
-
-
Field Detail
-
inherits
public List<DocumentmanagerConfig.Doctype.Inherits.Builder> inherits
-
fieldsets
public Map<String,DocumentmanagerConfig.Doctype.Fieldsets.Builder> fieldsets
-
importedfield
public List<DocumentmanagerConfig.Doctype.Importedfield.Builder> importedfield
-
primitivetype
public List<DocumentmanagerConfig.Doctype.Primitivetype.Builder> primitivetype
-
arraytype
public List<DocumentmanagerConfig.Doctype.Arraytype.Builder> arraytype
-
maptype
public List<DocumentmanagerConfig.Doctype.Maptype.Builder> maptype
-
wsettype
public List<DocumentmanagerConfig.Doctype.Wsettype.Builder> wsettype
-
tensortype
public List<DocumentmanagerConfig.Doctype.Tensortype.Builder> tensortype
-
documentref
public List<DocumentmanagerConfig.Doctype.Documentref.Builder> documentref
-
annotationtype
public List<DocumentmanagerConfig.Doctype.Annotationtype.Builder> annotationtype
-
annotationref
public List<DocumentmanagerConfig.Doctype.Annotationref.Builder> annotationref
-
structtype
public List<DocumentmanagerConfig.Doctype.Structtype.Builder> structtype
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DocumentmanagerConfig.Doctype config)
-
-
Method Detail
-
name
public DocumentmanagerConfig.Doctype.Builder name(String __value)
-
idx
public DocumentmanagerConfig.Doctype.Builder idx(int __value)
-
inherits
public DocumentmanagerConfig.Doctype.Builder inherits(DocumentmanagerConfig.Doctype.Inherits.Builder __builder)
Add the given builder to this builder's list of Inherits builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
inherits
public DocumentmanagerConfig.Doctype.Builder inherits(Consumer<DocumentmanagerConfig.Doctype.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 DocumentmanagerConfig.Doctype.Builder inherits(List<DocumentmanagerConfig.Doctype.Inherits.Builder> __builders)
Set the given list as this builder's list of Inherits builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
contentstruct
public DocumentmanagerConfig.Doctype.Builder contentstruct(int __value)
-
fieldsets
public DocumentmanagerConfig.Doctype.Builder fieldsets(String __key, DocumentmanagerConfig.Doctype.Fieldsets.Builder __value)
-
fieldsets
public DocumentmanagerConfig.Doctype.Builder fieldsets(Map<String,DocumentmanagerConfig.Doctype.Fieldsets.Builder> __values)
-
fieldsets
public DocumentmanagerConfig.Doctype.Builder fieldsets(String __key, Consumer<DocumentmanagerConfig.Doctype.Fieldsets.Builder> __func)
Make a new builder and run the supplied function on it before using it as the value- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
importedfield
public DocumentmanagerConfig.Doctype.Builder importedfield(DocumentmanagerConfig.Doctype.Importedfield.Builder __builder)
Add the given builder to this builder's list of Importedfield builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
importedfield
public DocumentmanagerConfig.Doctype.Builder importedfield(Consumer<DocumentmanagerConfig.Doctype.Importedfield.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
-
importedfield
public DocumentmanagerConfig.Doctype.Builder importedfield(List<DocumentmanagerConfig.Doctype.Importedfield.Builder> __builders)
Set the given list as this builder's list of Importedfield builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
primitivetype
public DocumentmanagerConfig.Doctype.Builder primitivetype(DocumentmanagerConfig.Doctype.Primitivetype.Builder __builder)
Add the given builder to this builder's list of Primitivetype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
primitivetype
public DocumentmanagerConfig.Doctype.Builder primitivetype(Consumer<DocumentmanagerConfig.Doctype.Primitivetype.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
-
primitivetype
public DocumentmanagerConfig.Doctype.Builder primitivetype(List<DocumentmanagerConfig.Doctype.Primitivetype.Builder> __builders)
Set the given list as this builder's list of Primitivetype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
arraytype
public DocumentmanagerConfig.Doctype.Builder arraytype(DocumentmanagerConfig.Doctype.Arraytype.Builder __builder)
Add the given builder to this builder's list of Arraytype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
arraytype
public DocumentmanagerConfig.Doctype.Builder arraytype(Consumer<DocumentmanagerConfig.Doctype.Arraytype.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
-
arraytype
public DocumentmanagerConfig.Doctype.Builder arraytype(List<DocumentmanagerConfig.Doctype.Arraytype.Builder> __builders)
Set the given list as this builder's list of Arraytype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
maptype
public DocumentmanagerConfig.Doctype.Builder maptype(DocumentmanagerConfig.Doctype.Maptype.Builder __builder)
Add the given builder to this builder's list of Maptype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
maptype
public DocumentmanagerConfig.Doctype.Builder maptype(Consumer<DocumentmanagerConfig.Doctype.Maptype.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
-
maptype
public DocumentmanagerConfig.Doctype.Builder maptype(List<DocumentmanagerConfig.Doctype.Maptype.Builder> __builders)
Set the given list as this builder's list of Maptype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
wsettype
public DocumentmanagerConfig.Doctype.Builder wsettype(DocumentmanagerConfig.Doctype.Wsettype.Builder __builder)
Add the given builder to this builder's list of Wsettype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
wsettype
public DocumentmanagerConfig.Doctype.Builder wsettype(Consumer<DocumentmanagerConfig.Doctype.Wsettype.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
-
wsettype
public DocumentmanagerConfig.Doctype.Builder wsettype(List<DocumentmanagerConfig.Doctype.Wsettype.Builder> __builders)
Set the given list as this builder's list of Wsettype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
tensortype
public DocumentmanagerConfig.Doctype.Builder tensortype(DocumentmanagerConfig.Doctype.Tensortype.Builder __builder)
Add the given builder to this builder's list of Tensortype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
tensortype
public DocumentmanagerConfig.Doctype.Builder tensortype(Consumer<DocumentmanagerConfig.Doctype.Tensortype.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
-
tensortype
public DocumentmanagerConfig.Doctype.Builder tensortype(List<DocumentmanagerConfig.Doctype.Tensortype.Builder> __builders)
Set the given list as this builder's list of Tensortype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
documentref
public DocumentmanagerConfig.Doctype.Builder documentref(DocumentmanagerConfig.Doctype.Documentref.Builder __builder)
Add the given builder to this builder's list of Documentref builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
documentref
public DocumentmanagerConfig.Doctype.Builder documentref(Consumer<DocumentmanagerConfig.Doctype.Documentref.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
-
documentref
public DocumentmanagerConfig.Doctype.Builder documentref(List<DocumentmanagerConfig.Doctype.Documentref.Builder> __builders)
Set the given list as this builder's list of Documentref builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
annotationtype
public DocumentmanagerConfig.Doctype.Builder annotationtype(DocumentmanagerConfig.Doctype.Annotationtype.Builder __builder)
Add the given builder to this builder's list of Annotationtype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
annotationtype
public DocumentmanagerConfig.Doctype.Builder annotationtype(Consumer<DocumentmanagerConfig.Doctype.Annotationtype.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
-
annotationtype
public DocumentmanagerConfig.Doctype.Builder annotationtype(List<DocumentmanagerConfig.Doctype.Annotationtype.Builder> __builders)
Set the given list as this builder's list of Annotationtype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
annotationref
public DocumentmanagerConfig.Doctype.Builder annotationref(DocumentmanagerConfig.Doctype.Annotationref.Builder __builder)
Add the given builder to this builder's list of Annotationref builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
annotationref
public DocumentmanagerConfig.Doctype.Builder annotationref(Consumer<DocumentmanagerConfig.Doctype.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
-
annotationref
public DocumentmanagerConfig.Doctype.Builder annotationref(List<DocumentmanagerConfig.Doctype.Annotationref.Builder> __builders)
Set the given list as this builder's list of Annotationref builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
structtype
public DocumentmanagerConfig.Doctype.Builder structtype(DocumentmanagerConfig.Doctype.Structtype.Builder __builder)
Add the given builder to this builder's list of Structtype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
structtype
public DocumentmanagerConfig.Doctype.Builder structtype(Consumer<DocumentmanagerConfig.Doctype.Structtype.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
-
structtype
public DocumentmanagerConfig.Doctype.Builder structtype(List<DocumentmanagerConfig.Doctype.Structtype.Builder> __builders)
Set the given list as this builder's list of Structtype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
public DocumentmanagerConfig.Doctype build()
-
-