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