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