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 Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description ShortDoc
build()
Builds a ShortDoc.ShortDoc.Builder
hash(String hash)
Set the hash.ShortDoc.Builder
title(String title)
Set the title.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a ShortDoc.- Returns:
- the new ShortDoc instance
-
title
Set the title.- Parameters:
title
- the title- Returns:
- the ShortDoc builder
-
hash
Set the hash.- Parameters:
hash
- the hash- Returns:
- the ShortDoc builder
-