public static class DeleteSynonymOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String workspaceId,
String entity,
String value,
String synonym)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DeleteSynonymOptions |
build()
Builds a DeleteSynonymOptions.
|
DeleteSynonymOptions.Builder |
entity(String entity)
Set the entity.
|
DeleteSynonymOptions.Builder |
synonym(String synonym)
Set the synonym.
|
DeleteSynonymOptions.Builder |
value(String value)
Set the value.
|
DeleteSynonymOptions.Builder |
workspaceId(String workspaceId)
Set the workspaceId.
|
public DeleteSynonymOptions build()
public DeleteSynonymOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic DeleteSynonymOptions.Builder entity(String entity)
entity
- the entitypublic DeleteSynonymOptions.Builder value(String value)
value
- the valuepublic DeleteSynonymOptions.Builder synonym(String synonym)
synonym
- the synonymCopyright © 2022 IBM Cloud. All rights reserved.