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.BuilderaddProvenanceIds(String provenanceIds)Adds an provenanceIds to provenanceIds.Categorybuild()Builds a Category.Category.Builderlabel(String label)Set the label.Category.Buildermodification(String modification)Set the modification.Category.BuilderprovenanceIds(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
-