Class ListSynonymsOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.ListSynonymsOptions.Builder
- Enclosing class:
- ListSynonymsOptions
public static class ListSynonymsOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ListSynonymsOptions
build()
Builds a ListSynonymsOptions.ListSynonymsOptions.Builder
cursor(String cursor)
Set the cursor.ListSynonymsOptions.Builder
entity(String entity)
Set the entity.ListSynonymsOptions.Builder
includeAudit(Boolean includeAudit)
Set the includeAudit.ListSynonymsOptions.Builder
includeCount(Boolean includeCount)
Set the includeCount.ListSynonymsOptions.Builder
pageLimit(long pageLimit)
Set the pageLimit.ListSynonymsOptions.Builder
sort(String sort)
Set the sort.ListSynonymsOptions.Builder
value(String value)
Set the value.ListSynonymsOptions.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 value
-
-
Method Details
-
build
Builds a ListSynonymsOptions.- Returns:
- the new ListSynonymsOptions instance
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId
- the workspaceId- Returns:
- the ListSynonymsOptions builder
-
entity
Set the entity.- Parameters:
entity
- the entity- Returns:
- the ListSynonymsOptions builder
-
value
Set the value.- Parameters:
value
- the value- Returns:
- the ListSynonymsOptions builder
-
pageLimit
Set the pageLimit.- Parameters:
pageLimit
- the pageLimit- Returns:
- the ListSynonymsOptions builder
-
includeCount
Set the includeCount.- Parameters:
includeCount
- the includeCount- Returns:
- the ListSynonymsOptions builder
-
sort
Set the sort.- Parameters:
sort
- the sort- Returns:
- the ListSynonymsOptions builder
-
cursor
Set the cursor.- Parameters:
cursor
- the cursor- Returns:
- the ListSynonymsOptions builder
-
includeAudit
Set the includeAudit.- Parameters:
includeAudit
- the includeAudit- Returns:
- the ListSynonymsOptions builder
-