public static class AnnotationModel.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
public AnnotationModel build()
public AnnotationModel.Builder addStickyIds(Long stickyIds)
stickyIds
- the new stickyIdspublic AnnotationModel.Builder addQualifiers(String qualifiers)
qualifiers
- the new qualifierspublic AnnotationModel.Builder uniqueId(long uniqueId)
uniqueId
- the uniqueIdpublic AnnotationModel.Builder stickyIds(List<Long> stickyIds)
stickyIds
- the stickyIdspublic AnnotationModel.Builder ontology(String ontology)
ontology
- the ontologypublic AnnotationModel.Builder section(String section)
section
- the sectionpublic AnnotationModel.Builder preferredName(String preferredName)
preferredName
- the preferredNamepublic AnnotationModel.Builder cui(String cui)
cui
- the cuipublic AnnotationModel.Builder attributeId(String attributeId)
attributeId
- the attributeIdpublic AnnotationModel.Builder qualifiers(List<String> qualifiers)
qualifiers
- the qualifierspublic AnnotationModel.Builder type(String type)
type
- the typepublic AnnotationModel.Builder negated(Boolean negated)
negated
- the negatedpublic AnnotationModel.Builder hypothetical(Boolean hypothetical)
hypothetical
- the hypotheticalpublic AnnotationModel.Builder unit(String unit)
unit
- the unitpublic AnnotationModel.Builder minValue(String minValue)
minValue
- the minValuepublic AnnotationModel.Builder maxValue(String maxValue)
maxValue
- the maxValuepublic AnnotationModel.Builder operator(String operator)
operator
- the operatorpublic AnnotationModel.Builder nluSourceType(String nluSourceType)
nluSourceType
- the nluSourceTypepublic AnnotationModel.Builder nluRelation(String nluRelation)
nluRelation
- the nluRelationpublic AnnotationModel.Builder nluTargetType(String nluTargetType)
nluTargetType
- the nluTargetTypepublic AnnotationModel.Builder nluEntityIndex(String nluEntityIndex)
nluEntityIndex
- the nluEntityIndexpublic AnnotationModel.Builder nluMentionIndex(String nluMentionIndex)
nluMentionIndex
- the nluMentionIndexpublic AnnotationModel.Builder nluRelationId(String nluRelationId)
nluRelationId
- the nluRelationIdpublic AnnotationModel.Builder nluSide(String nluSide)
nluSide
- the nluSidepublic AnnotationModel.Builder begin(long begin)
begin
- the beginpublic AnnotationModel.Builder end(long end)
end
- the endpublic AnnotationModel.Builder score(Float score)
score
- the scorepublic AnnotationModel.Builder timestamp(long timestamp)
timestamp
- the timestamppublic AnnotationModel.Builder features(Map<String,String> features)
features
- the featurespublic AnnotationModel.Builder hits(long hits)
hits
- the hitsCopyright © 2021 IBM Cloud. All rights reserved.