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 a new element 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 element to be addedpublic Mention.Builder entity(String entity)
entity
- the entitypublic Mention.Builder location(List<Long> location)
location
- the locationCopyright © 2024 IBM Cloud. All rights reserved.