Class UpdateSynonymOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.UpdateSynonymOptions.Builder
- Enclosing class:
- UpdateSynonymOptions
public static class UpdateSynonymOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
workspaceId
- the workspaceIdentity
- the entityvalue
- the valuesynonym
- the synonym
-
-
Method Details
-
build
Builds a UpdateSynonymOptions.- Returns:
- the new UpdateSynonymOptions instance
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId
- the workspaceId- Returns:
- the UpdateSynonymOptions builder
-
entity
Set the entity.- Parameters:
entity
- the entity- Returns:
- the UpdateSynonymOptions builder
-
value
Set the value.- Parameters:
value
- the value- Returns:
- the UpdateSynonymOptions builder
-
synonym
Set the synonym.- Parameters:
synonym
- the synonym- Returns:
- the UpdateSynonymOptions builder
-
newSynonym
Set the newSynonym.- Parameters:
newSynonym
- the newSynonym- Returns:
- the UpdateSynonymOptions builder
-
includeAudit
Set the includeAudit.- Parameters:
includeAudit
- the includeAudit- Returns:
- the UpdateSynonymOptions builder
-