public static class CreateEntityOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String workspaceId,
java.lang.String entity)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateEntityOptions.Builder |
addValue(CreateValue value)
Adds an value to values.
|
CreateEntityOptions |
build()
Builds a CreateEntityOptions.
|
CreateEntityOptions.Builder |
description(java.lang.String description)
Set the description.
|
CreateEntityOptions.Builder |
entity(java.lang.String entity)
Set the entity.
|
CreateEntityOptions.Builder |
fuzzyMatch(java.lang.Boolean fuzzyMatch)
Set the fuzzyMatch.
|
CreateEntityOptions.Builder |
metadata(java.util.Map metadata)
Set the metadata.
|
CreateEntityOptions.Builder |
values(java.util.List<CreateValue> values)
Set the values.
|
CreateEntityOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public Builder()
public Builder(java.lang.String workspaceId, java.lang.String entity)
workspaceId
- the workspaceIdentity
- the entitypublic CreateEntityOptions build()
public CreateEntityOptions.Builder addValue(CreateValue value)
value
- the new valuepublic CreateEntityOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic CreateEntityOptions.Builder metadata(java.util.Map metadata)
metadata
- the metadatapublic CreateEntityOptions.Builder values(java.util.List<CreateValue> values)
values
- the valuespublic CreateEntityOptions.Builder fuzzyMatch(java.lang.Boolean fuzzyMatch)
fuzzyMatch
- the fuzzyMatchpublic CreateEntityOptions.Builder description(java.lang.String description)
description
- the descriptionpublic CreateEntityOptions.Builder entity(java.lang.String entity)
entity
- the entity