Class GetSynonymOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.GetSynonymOptions.Builder
- Enclosing class:
- GetSynonymOptions
public static class GetSynonymOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method 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.
-
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 GetSynonymOptions.- Returns:
- the new GetSynonymOptions instance
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId
- the workspaceId- Returns:
- the GetSynonymOptions builder
-
entity
Set the entity.- Parameters:
entity
- the entity- Returns:
- the GetSynonymOptions builder
-
value
Set the value.- Parameters:
value
- the value- Returns:
- the GetSynonymOptions builder
-
synonym
Set the synonym.- Parameters:
synonym
- the synonym- Returns:
- the GetSynonymOptions builder
-
includeAudit
Set the includeAudit.- Parameters:
includeAudit
- the includeAudit- Returns:
- the GetSynonymOptions builder
-