public static class CreateSynonymOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
CreateSynonymOptions.Builder()
Instantiates a new builder.
|
CreateSynonymOptions.Builder(java.lang.String workspaceId,
java.lang.String entity,
java.lang.String value,
java.lang.String synonym)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateSynonymOptions |
build()
Builds a CreateSynonymOptions.
|
CreateSynonymOptions.Builder |
entity(java.lang.String entity)
Set the entity.
|
CreateSynonymOptions.Builder |
synonym(java.lang.String synonym)
Set the synonym.
|
CreateSynonymOptions.Builder |
value(java.lang.String value)
Set the value.
|
CreateSynonymOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public CreateSynonymOptions.Builder()
public CreateSynonymOptions.Builder(java.lang.String workspaceId, java.lang.String entity, java.lang.String value, java.lang.String synonym)
workspaceId
- the workspaceIdentity
- the entityvalue
- the valuesynonym
- the synonympublic CreateSynonymOptions build()
public CreateSynonymOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic CreateSynonymOptions.Builder entity(java.lang.String entity)
entity
- the entitypublic CreateSynonymOptions.Builder value(java.lang.String value)
value
- the valuepublic CreateSynonymOptions.Builder synonym(java.lang.String synonym)
synonym
- the synonym