public static class UpdateSynonymOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
UpdateSynonymOptions.Builder()
Instantiates a new builder.
|
UpdateSynonymOptions.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 |
---|---|
UpdateSynonymOptions |
build()
Builds a UpdateSynonymOptions.
|
UpdateSynonymOptions.Builder |
entity(java.lang.String entity)
Set the entity.
|
UpdateSynonymOptions.Builder |
newSynonym(java.lang.String newSynonym)
Set the newSynonym.
|
UpdateSynonymOptions.Builder |
synonym(java.lang.String synonym)
Set the synonym.
|
UpdateSynonymOptions.Builder |
value(java.lang.String value)
Set the value.
|
UpdateSynonymOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public UpdateSynonymOptions.Builder()
public UpdateSynonymOptions.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 UpdateSynonymOptions build()
public UpdateSynonymOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic UpdateSynonymOptions.Builder entity(java.lang.String entity)
entity
- the entitypublic UpdateSynonymOptions.Builder value(java.lang.String value)
value
- the valuepublic UpdateSynonymOptions.Builder synonym(java.lang.String synonym)
synonym
- the synonympublic UpdateSynonymOptions.Builder newSynonym(java.lang.String newSynonym)
newSynonym
- the newSynonym