public static class ListSynonymsOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String workspaceId,
java.lang.String entity,
java.lang.String value)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ListSynonymsOptions |
build()
Builds a ListSynonymsOptions.
|
ListSynonymsOptions.Builder |
cursor(java.lang.String cursor)
Set the cursor.
|
ListSynonymsOptions.Builder |
entity(java.lang.String entity)
Set the entity.
|
ListSynonymsOptions.Builder |
includeAudit(java.lang.Boolean includeAudit)
Set the includeAudit.
|
ListSynonymsOptions.Builder |
includeCount(java.lang.Boolean includeCount)
Set the includeCount.
|
ListSynonymsOptions.Builder |
pageLimit(long pageLimit)
Set the pageLimit.
|
ListSynonymsOptions.Builder |
sort(java.lang.String sort)
Set the sort.
|
ListSynonymsOptions.Builder |
value(java.lang.String value)
Set the value.
|
ListSynonymsOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public Builder()
public Builder(java.lang.String workspaceId, java.lang.String entity, java.lang.String value)
workspaceId
- the workspaceIdentity
- the entityvalue
- the valuepublic ListSynonymsOptions build()
public ListSynonymsOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic ListSynonymsOptions.Builder entity(java.lang.String entity)
entity
- the entitypublic ListSynonymsOptions.Builder value(java.lang.String value)
value
- the valuepublic ListSynonymsOptions.Builder pageLimit(long pageLimit)
pageLimit
- the pageLimitpublic ListSynonymsOptions.Builder includeCount(java.lang.Boolean includeCount)
includeCount
- the includeCountpublic ListSynonymsOptions.Builder sort(java.lang.String sort)
sort
- the sortpublic ListSynonymsOptions.Builder cursor(java.lang.String cursor)
cursor
- the cursorpublic ListSynonymsOptions.Builder includeAudit(java.lang.Boolean includeAudit)
includeAudit
- the includeAudit