public static class OriginalLabelsIn.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(List<TypeLabel> types,
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(List<Category> categories)
Set the categories.
|
OriginalLabelsIn.Builder |
types(List<TypeLabel> types)
Set the types.
|
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(List<TypeLabel> types)
types
- the typespublic OriginalLabelsIn.Builder categories(List<Category> categories)
categories
- the categoriesCopyright © 2021 IBM Cloud. All rights reserved.