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