public static class Synonym.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String synonym)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Synonym |
build()
Builds a Synonym.
|
Synonym.Builder |
created(java.util.Date created)
Set the created.
|
Synonym.Builder |
synonym(java.lang.String synonym)
Set the synonym.
|
Synonym.Builder |
updated(java.util.Date updated)
Set the updated.
|
public Builder()
public Builder(java.lang.String synonym)
synonym
- the synonympublic Synonym build()
public Synonym.Builder synonym(java.lang.String synonym)
synonym
- the synonympublic Synonym.Builder created(java.util.Date created)
created
- the createdpublic Synonym.Builder updated(java.util.Date updated)
updated
- the updated