Class Query
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.search.customsearch.models.Query
-
public class Query extends Object
Defines a search query.
-
-
Constructor Summary
Constructors Constructor Description Query()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdisplayText()Get the displayText value.StringsearchLink()Get the searchLink value.Stringtext()Get the text value.StringwebSearchUrl()Get the webSearchUrl value.QuerywithText(String text)Set the text value.
-
-
-
Method Detail
-
text
public String text()
Get the text value.- Returns:
- the text value
-
withText
public Query withText(String text)
Set the text value.- Parameters:
text- the text value to set- Returns:
- the Query object itself.
-
displayText
public String displayText()
Get the displayText value.- Returns:
- the displayText value
-
webSearchUrl
public String webSearchUrl()
Get the webSearchUrl value.- Returns:
- the webSearchUrl value
-
searchLink
public String searchLink()
Get the searchLink value.- Returns:
- the searchLink value
-
-