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