public static class CreateSynonymOptions.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 |
---|---|
CreateSynonymOptions |
build()
Builds a CreateSynonymOptions.
|
CreateSynonymOptions.Builder |
entity(String entity)
Set the entity.
|
CreateSynonymOptions.Builder |
includeAudit(Boolean includeAudit)
Set the includeAudit.
|
CreateSynonymOptions.Builder |
synonym(String synonym)
Set the synonym.
|
CreateSynonymOptions.Builder |
synonym(Synonym synonym)
Set the synonym.
|
CreateSynonymOptions.Builder |
value(String value)
Set the value.
|
CreateSynonymOptions.Builder |
workspaceId(String workspaceId)
Set the workspaceId.
|
public CreateSynonymOptions build()
public CreateSynonymOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic CreateSynonymOptions.Builder entity(String entity)
entity
- the entitypublic CreateSynonymOptions.Builder value(String value)
value
- the valuepublic CreateSynonymOptions.Builder synonym(String synonym)
synonym
- the synonympublic CreateSynonymOptions.Builder includeAudit(Boolean includeAudit)
includeAudit
- the includeAuditpublic CreateSynonymOptions.Builder synonym(Synonym synonym)
synonym
- the synonymCopyright © 2024 IBM Cloud. All rights reserved.