Class Category.Builder
java.lang.Object
com.ibm.watson.compare_comply.v1.model.Category.Builder
- Enclosing class:
- Category
public static class Category.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description Category.Builder
addProvenanceIds(String provenanceIds)
Adds an provenanceIds to provenanceIds.Category
build()
Builds a Category.Category.Builder
label(String label)
Set the label.Category.Builder
modification(String modification)
Set the modification.Category.Builder
provenanceIds(List<String> provenanceIds)
Set the provenanceIds.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a Category.- Returns:
- the new Category instance
-
addProvenanceIds
Adds an provenanceIds to provenanceIds.- Parameters:
provenanceIds
- the new provenanceIds- Returns:
- the Category builder
-
label
Set the label.- Parameters:
label
- the label- Returns:
- the Category builder
-
provenanceIds
Set the provenanceIds. Existing provenanceIds will be replaced.- Parameters:
provenanceIds
- the provenanceIds- Returns:
- the Category builder
-
modification
Set the modification.- Parameters:
modification
- the modification- Returns:
- the Category builder
-