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 UpdateSynonymOptionsbuild()Builds a UpdateSynonymOptions.UpdateSynonymOptions.Builderentity(String entity)Set the entity.UpdateSynonymOptions.BuilderincludeAudit(Boolean includeAudit)Set the includeAudit.UpdateSynonymOptions.BuildernewSynonym(String newSynonym)Set the newSynonym.UpdateSynonymOptions.Buildersynonym(String synonym)Set the synonym.UpdateSynonymOptions.Buildervalue(String value)Set the value.UpdateSynonymOptions.BuilderworkspaceId(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
-