public static class GetSynonymOptions.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,
java.lang.String synonym)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetSynonymOptions |
build()
Builds a GetSynonymOptions.
|
GetSynonymOptions.Builder |
entity(java.lang.String entity)
Set the entity.
|
GetSynonymOptions.Builder |
synonym(java.lang.String synonym)
Set the synonym.
|
GetSynonymOptions.Builder |
value(java.lang.String value)
Set the value.
|
GetSynonymOptions.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, java.lang.String synonym)
workspaceId
- the workspaceIdentity
- the entityvalue
- the valuesynonym
- the synonympublic GetSynonymOptions build()
public GetSynonymOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic GetSynonymOptions.Builder entity(java.lang.String entity)
entity
- the entitypublic GetSynonymOptions.Builder value(java.lang.String value)
value
- the valuepublic GetSynonymOptions.Builder synonym(java.lang.String synonym)
synonym
- the synonym