Class QueryNoticesOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v2.model.QueryNoticesOptions.Builder
- Enclosing class:
- QueryNoticesOptions
public static class QueryNoticesOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description QueryNoticesOptionsbuild()Builds a QueryNoticesOptions.QueryNoticesOptions.Buildercount(long count)Set the count.QueryNoticesOptions.Builderfilter(String filter)Set the filter.QueryNoticesOptions.BuildernaturalLanguageQuery(String naturalLanguageQuery)Set the naturalLanguageQuery.QueryNoticesOptions.Builderoffset(long offset)Set the offset.QueryNoticesOptions.BuilderprojectId(String projectId)Set the projectId.QueryNoticesOptions.Builderquery(String query)Set the query.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
projectId- the projectId
-
-
Method Details
-
build
Builds a QueryNoticesOptions.- Returns:
- the new QueryNoticesOptions instance
-
projectId
Set the projectId.- Parameters:
projectId- the projectId- Returns:
- the QueryNoticesOptions builder
-
filter
Set the filter.- Parameters:
filter- the filter- Returns:
- the QueryNoticesOptions builder
-
query
Set the query.- Parameters:
query- the query- Returns:
- the QueryNoticesOptions builder
-
naturalLanguageQuery
Set the naturalLanguageQuery.- Parameters:
naturalLanguageQuery- the naturalLanguageQuery- Returns:
- the QueryNoticesOptions builder
-
count
Set the count.- Parameters:
count- the count- Returns:
- the QueryNoticesOptions builder
-
offset
Set the offset.- Parameters:
offset- the offset- Returns:
- the QueryNoticesOptions builder
-