public static class OriginalLabelsIn.Builder
extends java.lang.Object
Constructor and Description |
---|
OriginalLabelsIn.Builder()
Instantiates a new builder.
|
OriginalLabelsIn.Builder(java.util.List<TypeLabel> types,
java.util.List<Category> categories)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
OriginalLabelsIn.Builder |
addCategories(Category categories)
Adds an categories to categories.
|
OriginalLabelsIn.Builder |
addTypes(TypeLabel types)
Adds an types to types.
|
OriginalLabelsIn |
build()
Builds a OriginalLabelsIn.
|
OriginalLabelsIn.Builder |
categories(java.util.List<Category> categories)
Set the categories.
|
OriginalLabelsIn.Builder |
types(java.util.List<TypeLabel> types)
Set the types.
|
public OriginalLabelsIn.Builder()
public OriginalLabelsIn build()
public OriginalLabelsIn.Builder addTypes(TypeLabel types)
types
- the new typespublic OriginalLabelsIn.Builder addCategories(Category categories)
categories
- the new categoriespublic OriginalLabelsIn.Builder types(java.util.List<TypeLabel> types)
types
- the typespublic OriginalLabelsIn.Builder categories(java.util.List<Category> categories)
categories
- the categories