Class ShortDoc.Builder

java.lang.Object
com.ibm.watson.compare_comply.v1.model.ShortDoc.Builder
Enclosing class:
ShortDoc

public static class ShortDoc.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public ShortDoc build()
      Builds a ShortDoc.
      Returns:
      the new ShortDoc instance
    • title

      public ShortDoc.Builder title​(String title)
      Set the title.
      Parameters:
      title - the title
      Returns:
      the ShortDoc builder
    • hash

      public ShortDoc.Builder hash​(String hash)
      Set the hash.
      Parameters:
      hash - the hash
      Returns:
      the ShortDoc builder