Class QueryUtterancesResults
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.QueryUtterancesResults
-
public final class QueryUtterancesResults extends Object
Suggested utterances where the detector can be applicable.
-
-
Constructor Summary
Constructors Constructor Description QueryUtterancesResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringquery()Get the query property: Search Query.List<QueryUtterancesResult>results()Get the results property: Array of utterance results for search query.voidvalidate()Validates the instance.QueryUtterancesResultswithQuery(String query)Set the query property: Search Query.QueryUtterancesResultswithResults(List<QueryUtterancesResult> results)Set the results property: Array of utterance results for search query.
-
-
-
Method Detail
-
query
public String query()
Get the query property: Search Query.- Returns:
- the query value.
-
withQuery
public QueryUtterancesResults withQuery(String query)
Set the query property: Search Query.- Parameters:
query- the query value to set.- Returns:
- the QueryUtterancesResults object itself.
-
results
public List<QueryUtterancesResult> results()
Get the results property: Array of utterance results for search query.- Returns:
- the results value.
-
withResults
public QueryUtterancesResults withResults(List<QueryUtterancesResult> results)
Set the results property: Array of utterance results for search query.- Parameters:
results- the results value to set.- Returns:
- the QueryUtterancesResults object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-