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