Class Label.Builder
java.lang.Object
com.ibm.watson.compare_comply.v1.model.Label.Builder
- Enclosing class:
- Label
public static class Label.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Label
build()
Builds a Label.Label.Builder
nature(String nature)
Set the nature.Label.Builder
party(String party)
Set the party.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
nature
- the natureparty
- the party
-
-
Method Details
-
build
Builds a Label.- Returns:
- the new Label instance
-
nature
Set the nature.- Parameters:
nature
- the nature- Returns:
- the Label builder
-
party
Set the party.- Parameters:
party
- the party- Returns:
- the Label builder
-