public static class QueryNoticesOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
QueryNoticesOptions.Builder()
Instantiates a new builder.
|
QueryNoticesOptions.Builder(java.lang.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(java.lang.String filter)
Set the filter.
|
QueryNoticesOptions.Builder |
naturalLanguageQuery(java.lang.String naturalLanguageQuery)
Set the naturalLanguageQuery.
|
QueryNoticesOptions.Builder |
offset(long offset)
Set the offset.
|
QueryNoticesOptions.Builder |
projectId(java.lang.String projectId)
Set the projectId.
|
QueryNoticesOptions.Builder |
query(java.lang.String query)
Set the query.
|
public QueryNoticesOptions.Builder()
public QueryNoticesOptions.Builder(java.lang.String projectId)
projectId
- the projectIdpublic QueryNoticesOptions build()
public QueryNoticesOptions.Builder projectId(java.lang.String projectId)
projectId
- the projectIdpublic QueryNoticesOptions.Builder filter(java.lang.String filter)
filter
- the filterpublic QueryNoticesOptions.Builder query(java.lang.String query)
query
- the querypublic QueryNoticesOptions.Builder naturalLanguageQuery(java.lang.String naturalLanguageQuery)
naturalLanguageQuery
- the naturalLanguageQuerypublic QueryNoticesOptions.Builder count(long count)
count
- the countpublic QueryNoticesOptions.Builder offset(long offset)
offset
- the offset