public static class QueryEntitiesOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
QueryEntitiesOptions.Builder()
Instantiates a new builder.
|
QueryEntitiesOptions.Builder(java.lang.String environmentId,
java.lang.String collectionId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
QueryEntitiesOptions |
build()
Builds a QueryEntitiesOptions.
|
QueryEntitiesOptions.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
QueryEntitiesOptions.Builder |
context(QueryEntitiesContext context)
Set the context.
|
QueryEntitiesOptions.Builder |
count(long count)
Set the count.
|
QueryEntitiesOptions.Builder |
entity(QueryEntitiesEntity entity)
Set the entity.
|
QueryEntitiesOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
QueryEntitiesOptions.Builder |
evidenceCount(long evidenceCount)
Set the evidenceCount.
|
QueryEntitiesOptions.Builder |
feature(java.lang.String feature)
Set the feature.
|
public QueryEntitiesOptions.Builder()
public QueryEntitiesOptions.Builder(java.lang.String environmentId, java.lang.String collectionId)
environmentId
- the environmentIdcollectionId
- the collectionIdpublic QueryEntitiesOptions build()
public QueryEntitiesOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic QueryEntitiesOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic QueryEntitiesOptions.Builder feature(java.lang.String feature)
feature
- the featurepublic QueryEntitiesOptions.Builder entity(QueryEntitiesEntity entity)
entity
- the entitypublic QueryEntitiesOptions.Builder context(QueryEntitiesContext context)
context
- the contextpublic QueryEntitiesOptions.Builder count(long count)
count
- the countpublic QueryEntitiesOptions.Builder evidenceCount(long evidenceCount)
evidenceCount
- the evidenceCount