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 Labelbuild()Builds a Label.Label.Buildernature(String nature)Set the nature.Label.Builderparty(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
-