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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String nature, String party)
      Instantiates a new builder with required properties.
      Parameters:
      nature - the nature
      party - the party
  • Method Details

    • build

      public Label build()
      Builds a Label.
      Returns:
      the new Label instance
    • nature

      public Label.Builder nature​(String nature)
      Set the nature.
      Parameters:
      nature - the nature
      Returns:
      the Label builder
    • party

      public Label.Builder party​(String party)
      Set the party.
      Parameters:
      party - the party
      Returns:
      the Label builder