public static class GetConceptsOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String corpus)
Instantiates a new builder with required properties.
|
public Builder()
public Builder(String corpus)
corpus
- the corpuspublic GetConceptsOptions build()
public GetConceptsOptions.Builder addCuis(String cuis)
cuis
- the new cuispublic GetConceptsOptions.Builder addPreferredNames(String preferredNames)
preferredNames
- the new preferredNamespublic GetConceptsOptions.Builder addSurfaceForms(String surfaceForms)
surfaceForms
- the new surfaceFormspublic GetConceptsOptions.Builder addAttributes(String attributes)
attributes
- the new attributespublic GetConceptsOptions.Builder corpus(String corpus)
corpus
- the corpuspublic GetConceptsOptions.Builder cuis(List<String> cuis)
cuis
- the cuispublic GetConceptsOptions.Builder preferredNames(List<String> preferredNames)
preferredNames
- the preferredNamespublic GetConceptsOptions.Builder surfaceForms(List<String> surfaceForms)
surfaceForms
- the surfaceFormspublic GetConceptsOptions.Builder attributes(List<String> attributes)
attributes
- the attributespublic GetConceptsOptions.Builder verbose(Boolean verbose)
verbose
- the verbosepublic GetConceptsOptions.Builder sort(String sort)
sort
- the sortpublic GetConceptsOptions.Builder limit(long limit)
limit
- the limitCopyright © 2021 IBM Cloud. All rights reserved.