| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
Builder(String entity,
List<Long> location)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
Mention.Builder |
addLocation(Long location)
Adds an location to location.
|
Mention |
build()
Builds a Mention.
|
Mention.Builder |
entity(String entity)
Set the entity.
|
Mention.Builder |
location(List<Long> location)
Set the location.
|
public Mention build()
public Mention.Builder addLocation(Long location)
location - the new locationpublic Mention.Builder entity(String entity)
entity - the entitypublic Mention.Builder location(List<Long> location)
location - the locationCopyright © 2022 IBM Cloud. All rights reserved.