public static class RuntimeEntity.Builder
extends java.lang.Object
| Constructor and Description | 
|---|
| Builder()Instantiates a new builder. | 
| Builder(java.lang.String entity,
       java.util.List<java.lang.Long> location,
       java.lang.String value)Instantiates a new builder with required properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| RuntimeEntity.Builder | addGroups(CaptureGroup groups)Adds an groups to groups. | 
| RuntimeEntity.Builder | addLocation(java.lang.Long location)Adds an location to location. | 
| RuntimeEntity | build()Builds a RuntimeEntity. | 
| RuntimeEntity.Builder | confidence(java.lang.Double confidence)Set the confidence. | 
| RuntimeEntity.Builder | entity(java.lang.String entity)Set the entity. | 
| RuntimeEntity.Builder | groups(java.util.List<CaptureGroup> groups)Set the groups. | 
| RuntimeEntity.Builder | location(java.util.List<java.lang.Long> location)Set the location. | 
| RuntimeEntity.Builder | metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)Set the metadata. | 
| RuntimeEntity.Builder | value(java.lang.String value)Set the value. | 
public Builder()
public Builder(java.lang.String entity,
               java.util.List<java.lang.Long> location,
               java.lang.String value)
entity - the entitylocation - the locationvalue - the valuepublic RuntimeEntity build()
public RuntimeEntity.Builder addLocation(java.lang.Long location)
location - the new locationpublic RuntimeEntity.Builder addGroups(CaptureGroup groups)
groups - the new groupspublic RuntimeEntity.Builder entity(java.lang.String entity)
entity - the entitypublic RuntimeEntity.Builder location(java.util.List<java.lang.Long> location)
location - the locationpublic RuntimeEntity.Builder value(java.lang.String value)
value - the valuepublic RuntimeEntity.Builder confidence(java.lang.Double confidence)
confidence - the confidencepublic RuntimeEntity.Builder metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
metadata - the metadatapublic RuntimeEntity.Builder groups(java.util.List<CaptureGroup> groups)
groups - the groups