public static class CreateEntity.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String entity)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateEntity.Builder |
addValues(CreateValue values)
Adds an values to values.
|
CreateEntity |
build()
Builds a CreateEntity.
|
CreateEntity.Builder |
created(java.util.Date created)
Set the created.
|
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 |
updated(java.util.Date updated)
Set the updated.
|
CreateEntity.Builder |
values(java.util.List<CreateValue> values)
Set the values.
|
public Builder()
public Builder(java.lang.String entity)
entity
- the entitypublic CreateEntity build()
public CreateEntity.Builder addValues(CreateValue values)
values
- the new valuespublic 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 fuzzyMatch(java.lang.Boolean fuzzyMatch)
fuzzyMatch
- the fuzzyMatchpublic CreateEntity.Builder created(java.util.Date created)
created
- the createdpublic CreateEntity.Builder updated(java.util.Date updated)
updated
- the updatedpublic CreateEntity.Builder values(java.util.List<CreateValue> values)
values
- the values