public static class CompositeEntity.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CompositeEntity.Builder |
actions(List<EntityAction> actions)
List of entity actions.
|
CompositeEntity.Builder |
attributes(List<EntityAttribute> attributes)
List of entity attributes.
|
CompositeEntity |
build() |
CompositeEntity.Builder |
copy(CompositeEntity model) |
CompositeEntity.Builder |
id(String id) |
CompositeEntity.Builder |
name(String name) |
CompositeEntity.Builder |
naturalLanguageMapping(EntityNaturalLanguageMapping naturalLanguageMapping) |
public CompositeEntity.Builder id(String id)
public CompositeEntity.Builder name(String name)
public CompositeEntity.Builder attributes(List<EntityAttribute> attributes)
List of entity attributes.
attributes
- the value to setpublic CompositeEntity.Builder actions(List<EntityAction> actions)
List of entity actions.
actions
- the value to setpublic CompositeEntity.Builder naturalLanguageMapping(EntityNaturalLanguageMapping naturalLanguageMapping)
public CompositeEntity build()
public CompositeEntity.Builder copy(CompositeEntity model)
Copyright © 2016–2024. All rights reserved.