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