public static class ShortDoc.Builder
extends java.lang.Object
Constructor and Description |
---|
ShortDoc.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
ShortDoc |
build()
Builds a ShortDoc.
|
ShortDoc.Builder |
hash(java.lang.String hash)
Set the hash.
|
ShortDoc.Builder |
title(java.lang.String title)
Set the title.
|
public ShortDoc build()
public ShortDoc.Builder title(java.lang.String title)
title
- the titlepublic ShortDoc.Builder hash(java.lang.String hash)
hash
- the hash