public static class UpdatedLabelsIn.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 |
---|---|
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(List<Category> categories)
Set the categories.
|
UpdatedLabelsIn.Builder |
types(List<TypeLabel> types)
Set the types.
|
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(List<TypeLabel> types)
types
- the typespublic UpdatedLabelsIn.Builder categories(List<Category> categories)
categories
- the categoriesCopyright © 2021 IBM Cloud. All rights reserved.