public static class CategoryContextMapping.Builder extends ContextBuilder<CategoryContextMapping>
CategoryContextMapping
name
Constructor and Description |
---|
Builder(java.lang.String name)
Create a builder for
a named
CategoryContextMapping |
Modifier and Type | Method and Description |
---|---|
CategoryContextMapping |
build() |
CategoryContextMapping.Builder |
field(java.lang.String fieldName)
Set the name of the field to use
|
category, geo
public Builder(java.lang.String name)
CategoryContextMapping
name
- name of the mappingpublic CategoryContextMapping.Builder field(java.lang.String fieldName)
public CategoryContextMapping build()
build
in class ContextBuilder<CategoryContextMapping>