public static class QueryCollectionNoticesOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String projectId,
String collectionId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
QueryCollectionNoticesOptions |
build()
Builds a QueryCollectionNoticesOptions.
|
QueryCollectionNoticesOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
QueryCollectionNoticesOptions.Builder |
count(long count)
Set the count.
|
QueryCollectionNoticesOptions.Builder |
filter(String filter)
Set the filter.
|
QueryCollectionNoticesOptions.Builder |
naturalLanguageQuery(String naturalLanguageQuery)
Set the naturalLanguageQuery.
|
QueryCollectionNoticesOptions.Builder |
offset(long offset)
Set the offset.
|
QueryCollectionNoticesOptions.Builder |
projectId(String projectId)
Set the projectId.
|
QueryCollectionNoticesOptions.Builder |
query(String query)
Set the query.
|
public QueryCollectionNoticesOptions build()
public QueryCollectionNoticesOptions.Builder projectId(String projectId)
projectId
- the projectIdpublic QueryCollectionNoticesOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic QueryCollectionNoticesOptions.Builder filter(String filter)
filter
- the filterpublic QueryCollectionNoticesOptions.Builder query(String query)
query
- the querypublic QueryCollectionNoticesOptions.Builder naturalLanguageQuery(String naturalLanguageQuery)
naturalLanguageQuery
- the naturalLanguageQuerypublic QueryCollectionNoticesOptions.Builder count(long count)
count
- the countpublic QueryCollectionNoticesOptions.Builder offset(long offset)
offset
- the offsetCopyright © 2021 IBM Cloud. All rights reserved.