public static class QueryRelationsOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
QueryRelationsOptions.Builder()
Instantiates a new builder.
|
QueryRelationsOptions.Builder(java.lang.String environmentId,
java.lang.String collectionId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
QueryRelationsOptions.Builder |
addEntities(QueryRelationsEntity entities)
Adds an entities to entities.
|
QueryRelationsOptions |
build()
Builds a QueryRelationsOptions.
|
QueryRelationsOptions.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
QueryRelationsOptions.Builder |
context(QueryEntitiesContext context)
Set the context.
|
QueryRelationsOptions.Builder |
count(long count)
Set the count.
|
QueryRelationsOptions.Builder |
entities(java.util.List<QueryRelationsEntity> entities)
Set the entities.
|
QueryRelationsOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
QueryRelationsOptions.Builder |
evidenceCount(long evidenceCount)
Set the evidenceCount.
|
QueryRelationsOptions.Builder |
filter(QueryRelationsFilter filter)
Set the filter.
|
QueryRelationsOptions.Builder |
sort(java.lang.String sort)
Set the sort.
|
public QueryRelationsOptions.Builder()
public QueryRelationsOptions.Builder(java.lang.String environmentId, java.lang.String collectionId)
environmentId
- the environmentIdcollectionId
- the collectionIdpublic QueryRelationsOptions build()
public QueryRelationsOptions.Builder addEntities(QueryRelationsEntity entities)
entities
- the new entitiespublic QueryRelationsOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic QueryRelationsOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic QueryRelationsOptions.Builder entities(java.util.List<QueryRelationsEntity> entities)
entities
- the entitiespublic QueryRelationsOptions.Builder context(QueryEntitiesContext context)
context
- the contextpublic QueryRelationsOptions.Builder sort(java.lang.String sort)
sort
- the sortpublic QueryRelationsOptions.Builder filter(QueryRelationsFilter filter)
filter
- the filterpublic QueryRelationsOptions.Builder count(long count)
count
- the countpublic QueryRelationsOptions.Builder evidenceCount(long evidenceCount)
evidenceCount
- the evidenceCount